Share via


MonitoringStateChangeEvent.EndExecuteDiagnostic(IAsyncResult) Method

Definition

Finishes diagnostic execution.

public:
 Microsoft::EnterpriseManagement::Monitoring::DiagnosticResult ^ EndExecuteDiagnostic(IAsyncResult ^ asyncResult);
public Microsoft.EnterpriseManagement.Monitoring.DiagnosticResult EndExecuteDiagnostic (IAsyncResult asyncResult);
member this.EndExecuteDiagnostic : IAsyncResult -> Microsoft.EnterpriseManagement.Monitoring.DiagnosticResult
Public Function EndExecuteDiagnostic (asyncResult As IAsyncResult) As DiagnosticResult

Parameters

asyncResult
IAsyncResult

The IAsyncResult.

Returns

The diagnostic results.

Exceptions

asyncResult is null

asyncResult was not from this instance of ManagementGroup or from an incompatible Begin method or was already processed

There was an error processing results on the server.

Applies to