Compartilhar via


CimSession.InvokeMethodAsync Method

Definition

Overloads

InvokeMethodAsync(CimInstance, String, CimMethodParametersCollection)
InvokeMethodAsync(String, CimInstance, String, CimMethodParametersCollection)
InvokeMethodAsync(String, String, String, CimMethodParametersCollection)
InvokeMethodAsync(String, CimInstance, String, CimMethodParametersCollection, CimOperationOptions)
InvokeMethodAsync(String, String, String, CimMethodParametersCollection, CimOperationOptions)

InvokeMethodAsync(CimInstance, String, CimMethodParametersCollection)

public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncResult<Microsoft::Management::Infrastructure::CimMethodResult ^> ^ InvokeMethodAsync(Microsoft::Management::Infrastructure::CimInstance ^ instance, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters);
public Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimMethodResult> InvokeMethodAsync (Microsoft.Management.Infrastructure.CimInstance instance, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters);
member this.InvokeMethodAsync : Microsoft.Management.Infrastructure.CimInstance * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection -> Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimMethodResult>
Public Function InvokeMethodAsync (instance As CimInstance, methodName As String, methodParameters As CimMethodParametersCollection) As CimAsyncResult(Of CimMethodResult)

Parameters

instance
CimInstance
methodName
String

Returns

Applies to

InvokeMethodAsync(String, CimInstance, String, CimMethodParametersCollection)

public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncResult<Microsoft::Management::Infrastructure::CimMethodResult ^> ^ InvokeMethodAsync(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instance, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters);
public Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimMethodResult> InvokeMethodAsync (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instance, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters);
member this.InvokeMethodAsync : string * Microsoft.Management.Infrastructure.CimInstance * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection -> Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimMethodResult>
Public Function InvokeMethodAsync (namespaceName As String, instance As CimInstance, methodName As String, methodParameters As CimMethodParametersCollection) As CimAsyncResult(Of CimMethodResult)

Parameters

namespaceName
String
instance
CimInstance
methodName
String

Returns

Applies to

InvokeMethodAsync(String, String, String, CimMethodParametersCollection)

public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncResult<Microsoft::Management::Infrastructure::CimMethodResult ^> ^ InvokeMethodAsync(System::String ^ namespaceName, System::String ^ className, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters);
public Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimMethodResult> InvokeMethodAsync (string namespaceName, string className, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters);
member this.InvokeMethodAsync : string * string * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection -> Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimMethodResult>
Public Function InvokeMethodAsync (namespaceName As String, className As String, methodName As String, methodParameters As CimMethodParametersCollection) As CimAsyncResult(Of CimMethodResult)

Parameters

namespaceName
String
className
String
methodName
String

Returns

Applies to

InvokeMethodAsync(String, CimInstance, String, CimMethodParametersCollection, CimOperationOptions)

public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncMultipleResults<Microsoft::Management::Infrastructure::CimMethodResultBase ^> ^ InvokeMethodAsync(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instance, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimMethodResultBase> InvokeMethodAsync (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instance, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.InvokeMethodAsync : string * Microsoft.Management.Infrastructure.CimInstance * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimMethodResultBase>
Public Function InvokeMethodAsync (namespaceName As String, instance As CimInstance, methodName As String, methodParameters As CimMethodParametersCollection, options As CimOperationOptions) As CimAsyncMultipleResults(Of CimMethodResultBase)

Parameters

namespaceName
String
instance
CimInstance
methodName
String

Returns

Applies to

InvokeMethodAsync(String, String, String, CimMethodParametersCollection, CimOperationOptions)

public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncMultipleResults<Microsoft::Management::Infrastructure::CimMethodResultBase ^> ^ InvokeMethodAsync(System::String ^ namespaceName, System::String ^ className, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimMethodResultBase> InvokeMethodAsync (string namespaceName, string className, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.InvokeMethodAsync : string * string * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimMethodResultBase>
Public Function InvokeMethodAsync (namespaceName As String, className As String, methodName As String, methodParameters As CimMethodParametersCollection, options As CimOperationOptions) As CimAsyncMultipleResults(Of CimMethodResultBase)

Parameters

namespaceName
String
className
String
methodName
String

Returns

Applies to