ClientBase<(Of <(TChannel>)>).BeginOperationDelegate Delegate

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

A delegate that is used by InvokeAsync for calling asynchronous operations on the client.

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

Syntax

Protected Delegate Function BeginOperationDelegate ( _
    inValues As Object(), _
    asyncCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
protected delegate IAsyncResult BeginOperationDelegate(
    Object[] inValues,
    AsyncCallback asyncCallback,
    Object state
)

Parameters

  • inValues
    Type: array<System..::.Object>[]()[]
    The input values to the asynchronous call.
  • asyncCallback
    Type: System..::.AsyncCallback
    Reference to the method to be called when the corresponding asynchronous operation completes.
  • state
    Type: System..::.Object
    An Object that lets the client distinguish between different asynchronous calls. It is made available to the client in the arguments parameter of the event completion callback.

Return Value

Type: System..::.IAsyncResult
The result of the asynchronous call.

Remarks

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_NETWORKING

Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

System.ServiceModel Namespace