Compartilhar via


TracedEvent.HasFired Property

Definition

Gets a value indicating whether the event has fired before. Use AttachIfNotFired(Action, Boolean) instead of using this property if you want to attach an event handler only if the event has not fired before.

public:
 property bool HasFired { bool get(); };
public:
 property bool HasFired { bool get(); };
public bool HasFired { get; }
member this.HasFired : bool
Public ReadOnly Property HasFired As Boolean

Property Value

Applies to