CimSession.InvokeMethodAsync Method (CimInstance, String, CimMethodParametersCollection)

 

Invokes an instance method asynchronously.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public CimAsyncResult<CimMethodResult> InvokeMethodAsync(
    CimInstance instance,
    string methodName,
    CimMethodParametersCollection methodParameters
)
public:
CimAsyncResult<CimMethodResult^>^ InvokeMethodAsync(
    CimInstance^ instance,
    String^ methodName,
    CimMethodParametersCollection^ methodParameters
)
member InvokeMethodAsync : 
        instance:CimInstance *
        methodName:string *
        methodParameters:CimMethodParametersCollection -> CimAsyncResult<CimMethodResult>
Public Function InvokeMethodAsync (
    instance As CimInstance,
    methodName As String,
    methodParameters As CimMethodParametersCollection
) As CimAsyncResult(Of CimMethodResult)

Parameters

Return Value

Type: Microsoft.Management.Infrastructure.Generic.CimAsyncResult<CimMethodResult>

Returns CimAsyncResult<T>.

See Also

InvokeMethodAsync Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace

Return to top