Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00: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;
}
}
}
}