Files
dotnet-bot 332534dede Adding reference source for part of Workflow Foundation
Adding reference source for
System.Activities
System.Activities.DurableInstancing
System.Activities.Presentation
System.Runtime.DurableInstancing
System.Workflow.Activities
System.Workflow.ComponentModel
System.Workflow.Runtime
System.WorkflowServices
System.Xaml.Hosting
XamlBuildTask
2016-05-03 00:07:54 +02: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;
}
}
}
}