ManagementEventWatcher.Stopped Event

Definition

Occurs when a subscription is canceled.

public:
 event System::Management::StoppedEventHandler ^ Stopped;
public event System.Management.StoppedEventHandler Stopped;
member this.Stopped : System.Management.StoppedEventHandler 
Public Custom Event Stopped As StoppedEventHandler 
Public Event Stopped As StoppedEventHandler 

Event Type

Remarks

Event Data

The event handler receives an argument of type StoppedEventArgs containing data related to this event. The following StoppedEventArgs properties provide information specific to this event.

Property Description
Context (inherited from ManagementEventArgs) Gets the operation context echoed back from the operation that triggered the event.
Status Gets the completion status of the operation.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to