Partager via


IDevicesEventNotifier.RemoveDeviceCompleted Event

 

Represents the event that is raised when the RemoveDeviceAsync operation finishes.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Syntax

event EventHandler<ReportOperationCompletedEventArgs> RemoveDeviceCompleted
event EventHandler<ReportOperationCompletedEventArgs^>^ RemoveDeviceCompleted {
    void add(EventHandler<ReportOperationCompletedEventArgs^>^ value);
    void remove(EventHandler<ReportOperationCompletedEventArgs^>^ value);
}
Event RemoveDeviceCompleted As EventHandler(Of ReportOperationCompletedEventArgs)

Remarks

The caller of the RemoveDeviceAsync method must subscribe to this event. When the event is received, the Error parameter of ReportOperationCompletedEventArgs should be checked for an exception.

See Also

IDevicesEventNotifier Interface
Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top