ClientBase<TChannel>::ChannelBase<T>::BeginInvoke Method (String^, array<Object^>^, AsyncCallback^, Object^)

 

Starts an asynchronous call of a specified method by name.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
IAsyncResult^ BeginInvoke(
	String^ methodName,
	array<Object^>^ args,
	AsyncCallback^ callback,
	Object^ state
)

Parameters

methodName
Type: System::String^

The name of the method to be called asynchronously.

args
Type: array<System::Object^>^

An array of arguments for the method invoked.

callback
Type: System::AsyncCallback^

The AsyncCallback delegate.

state
Type: System::Object^

The state object.

Return Value

Type: System::IAsyncResult^

The IAsyncResult that references the asynchronous method invoked.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: