Share via


MonitoringStateChangeEvent.BeginExecuteDiagnostic Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As MonitoringStateChangeEvent
Dim diagnostic As ManagementPackDiagnostic
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginExecuteDiagnostic(diagnostic, callback, state)

Syntax

'Declaration
Public Function BeginExecuteDiagnostic ( _
    diagnostic As ManagementPackDiagnostic, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginExecuteDiagnostic (
    ManagementPackDiagnostic diagnostic,
    AsyncCallback callback,
    Object state
)
public:
IAsyncResult^ BeginExecuteDiagnostic (
    ManagementPackDiagnostic^ diagnostic, 
    AsyncCallback^ callback, 
    Object^ state
)
public IAsyncResult BeginExecuteDiagnostic (
    ManagementPackDiagnostic diagnostic, 
    AsyncCallback callback, 
    Object state
)
public function BeginExecuteDiagnostic (
    diagnostic : ManagementPackDiagnostic, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • diagnostic
  • callback
  • state

Return Value

Returns IAsyncResult.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringStateChangeEvent Class
MonitoringStateChangeEvent Members
Microsoft.EnterpriseManagement.Monitoring Namespace