BeginInvoke Method

ClientBase<TChannel>.ChannelBase<T>.BeginInvoke Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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,
	Object[] args,
	AsyncCallback callback,
	Object state
)

Parameters

methodName
Type: System.String
The name of the method to be called asynchronously.
args
Type: System.Object []
An array of arguments for the method invoked.
callback
Type: System.AsyncCallback
The AsyncCallback delegate.
state
Type: System.Object
The AsyncCallback delegate.

Return Value

Type: System.IAsyncResult
The IAsyncResult that references the asynchronous method invoked.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft