Compartilhar via


DomainClient.BeginInvokeCore Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Called by the framework to begin an Invoke operation asynchronously.

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

Syntax

'Declaration
Protected Overridable Function BeginInvokeCore ( _
    invokeArgs As InvokeArgs, _
    callback As AsyncCallback, _
    userState As Object _
) As IAsyncResult
'Usage
Dim invokeArgs As InvokeArgs
Dim callback As AsyncCallback
Dim userState As Object
Dim returnValue As IAsyncResult

returnValue = Me.BeginInvokeCore(invokeArgs, _
    callback, userState)
protected virtual IAsyncResult BeginInvokeCore(
    InvokeArgs invokeArgs,
    AsyncCallback callback,
    Object userState
)
protected:
virtual IAsyncResult^ BeginInvokeCore(
    InvokeArgs^ invokeArgs, 
    AsyncCallback^ callback, 
    Object^ userState
)
abstract BeginInvokeCore : 
        invokeArgs:InvokeArgs * 
        callback:AsyncCallback * 
        userState:Object -> IAsyncResult 
override BeginInvokeCore : 
        invokeArgs:InvokeArgs * 
        callback:AsyncCallback * 
        userState:Object -> IAsyncResult 
protected function BeginInvokeCore(
    invokeArgs : InvokeArgs, 
    callback : AsyncCallback, 
    userState : Object
) : IAsyncResult

Parameters

  • callback
    Type: System.AsyncCallback
    The callback to invoke when the invocation has been completed.
  • userState
    Type: System.Object
    Optional user state associated with this operation.

Return Value

Type: System.IAsyncResult
An asynchronous result that identifies this invocation.

Remarks

When you override this method, you should not call the base method.

See Also

Reference

DomainClient Class

System.ServiceModel.DomainServices.Client Namespace