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.

C#
protected void InvokeAsync(string methodName, object[] parameters, System.Threading.SendOrPostCallback callback);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

Invokes the specified method asynchronously.

C#
protected void InvokeAsync(string methodName, object[] parameters, System.Threading.SendOrPostCallback callback, object userState);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1