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.
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.IAsyncResultThe IAsyncResult that references the asynchronous method invoked.
Show: