Partager via


IDevicesEventNotifier.ReportDeviceCompleted Event

 

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

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

Syntax

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

Remarks

The caller of the ReportDeviceAsync 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