Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

38 lines
1.2 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="StateMachineStateQuery.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Activities.Statements.Tracking
{
using System.Activities.Tracking;
/// <summary>
/// When added to the Queries, subscribes to state machine state execution records.
/// </summary>
public sealed class StateMachineStateQuery : CustomTrackingQuery
{
/// <summary>
/// Constructor of StateMachineTrackingQuery.
/// </summary>
public StateMachineStateQuery()
{
base.Name = StateMachineStateRecord.StateMachineStateRecordName;
}
/// <summary>
/// Gets the name that distinguishes this tracking record.
/// </summary>
public new string Name
{
get
{
// By adding the 'new' keyword, the Name property appears to be overriden
// and become a Get only property
return base.Name;
}
}
}
}