ClientBase<TChannel>.ChannelBase<T>.BeginInvoke Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Starts an asynchronous call of a specified method by name.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Protected Function BeginInvoke ( _
methodName As String, _
args As Object(), _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
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: array<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.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.