TracedEvent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event wrapper that keeps the history of whether the event has fired before.
public ref class TracedEvent
[Windows::Foundation::Metadata::WebHostHidden]
class TracedEvent
public class TracedEvent
type TracedEvent = class
Public Class TracedEvent
- Inheritance
-
TracedEvent
Constructors
TracedEvent() |
Properties
HasFired |
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. |
Methods
Attach(Action) |
Attach the event handler. |
AttachIfNotFired(Action, Boolean) |
Attach the event handler only if the event has not fired before.
You may specify |
Fire() |
Fire the event. |
Remove(Action) |
Remove the event handler. |