//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Activities.Statements.Tracking { using System.Activities.Tracking; /// /// When added to the Queries, subscribes to state machine state execution records. /// public sealed class StateMachineStateQuery : CustomTrackingQuery { /// /// Constructor of StateMachineTrackingQuery. /// public StateMachineStateQuery() { base.Name = StateMachineStateRecord.StateMachineStateRecordName; } /// /// Gets the name that distinguishes this tracking record. /// 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; } } } }