編輯

共用方式為


SoapHttpClientProtocol.InvokeAsync Method

Definition

Invokes the specified method asynchronously.

Overloads

InvokeAsync(String, Object[], SendOrPostCallback)

Invokes the specified method asynchronously.

InvokeAsync(String, Object[], SendOrPostCallback, Object)

Invokes the specified method asynchronously.

InvokeAsync(String, Object[], SendOrPostCallback)

Invokes the specified method asynchronously.

protected:
 void InvokeAsync(System::String ^ methodName, cli::array <System::Object ^> ^ parameters, System::Threading::SendOrPostCallback ^ callback);
protected void InvokeAsync (string methodName, object[] parameters, System.Threading.SendOrPostCallback callback);
member this.InvokeAsync : string * obj[] * System.Threading.SendOrPostCallback -> unit
Protected Sub InvokeAsync (methodName As String, parameters As Object(), callback As SendOrPostCallback)

Parameters

methodName
String

The name of the method to invoke.

parameters
Object[]

The parameters to pass to the method.

callback
SendOrPostCallback

The delegate called when the method invocation has completed.

Applies to

InvokeAsync(String, Object[], SendOrPostCallback, Object)

Invokes the specified method asynchronously.

protected:
 void InvokeAsync(System::String ^ methodName, cli::array <System::Object ^> ^ parameters, System::Threading::SendOrPostCallback ^ callback, System::Object ^ userState);
protected void InvokeAsync (string methodName, object[] parameters, System.Threading.SendOrPostCallback callback, object userState);
member this.InvokeAsync : string * obj[] * System.Threading.SendOrPostCallback * obj -> unit
Protected Sub InvokeAsync (methodName As String, parameters As Object(), callback As SendOrPostCallback, userState As Object)

Parameters

methodName
String

The name of the method to invoke.

parameters
Object[]

The parameters to pass to the method.

callback
SendOrPostCallback

The delegate called when the method invocation has completed.

userState
Object

An object used to pass state information into the callback delegate.

Applies to