e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
38 lines
1.2 KiB
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|