Редагувати

Поділитися через


HttpSimpleClientProtocol.InvokeAsync Method

Definition

Invokes the specified method asynchronously.

Overloads

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

Invokes the specified method asynchronously.

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

Invokes the specified method asynchronously while maintaining an associated state.

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

Invokes the specified method asynchronously.

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

Parameters

methodName
String

The name of the method to invoke.

requestUrl
String

The request URL of the invoked web service.

parameters
Object[]

The parameters to pass to the method.

callback
SendOrPostCallback

The delegate called when the method invocation has completed.

Applies to

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

Invokes the specified method asynchronously while maintaining an associated state.

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

Parameters

methodName
String

The name of the method to invoke.

requestUrl
String

The request URL of the invoked web service.

parameters
Object[]

The parameters to pass to the method.

callback
SendOrPostCallback

The delegate called when the method invocation has completed.

userState
Object

An object containing associated state information that is passed to the callback delegate when the method has completed.

Applies to