Freigeben über


DataServiceContext.BeginExecute-Methode (Uri, AsyncCallback, Object, String, array<OperationParameter[])

Sendet asynchron eine Anforderung an den Datendienst, um einen bestimmten URI auszuführen.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Function BeginExecute ( _
    requestUri As Uri, _
    callback As AsyncCallback, _
    state As Object, _
    httpMethod As String, _
    ParamArray operationParameters As OperationParameter() _
) As IAsyncResult
'Usage
Dim instance As DataServiceContext
Dim requestUri As Uri
Dim callback As AsyncCallback
Dim state As Object
Dim httpMethod As String
Dim operationParameters As OperationParameter()
Dim returnValue As IAsyncResult

returnValue = instance.BeginExecute(requestUri, _
    callback, state, httpMethod, operationParameters)
public IAsyncResult BeginExecute(
    Uri requestUri,
    AsyncCallback callback,
    Object state,
    string httpMethod,
    params OperationParameter[] operationParameters
)
public:
IAsyncResult^ BeginExecute(
    Uri^ requestUri, 
    AsyncCallback^ callback, 
    Object^ state, 
    String^ httpMethod, 
    ... array<OperationParameter^>^ operationParameters
)
member BeginExecute : 
        requestUri:Uri * 
        callback:AsyncCallback * 
        state:Object * 
        httpMethod:string * 
        operationParameters:OperationParameter[] -> IAsyncResult 
public function BeginExecute(
    requestUri : Uri, 
    callback : AsyncCallback, 
    state : Object, 
    httpMethod : String, 
    ... operationParameters : OperationParameter[]
) : IAsyncResult

Parameter

  • requestUri
    Typ: System.Uri
    Der URI, an den die generierte Abfrage gesendet wird.
  • callback
    Typ: System.AsyncCallback
    Aufruf-Delegierter, wenn Ergebnisse für Clientverbrauch verfügbar sind.
  • state
    Typ: System.Object
    Benutzerdefiniertes Statusobjekt, das an den Rückruf übergeben wird.
  • httpMethod
    Typ: System.String
    Die vom Client verwendete HTTP-Datenübertragungsmethode.

Rückgabewert

Typ: System.IAsyncResult
Das Ergebnis des Vorgangs.

Siehe auch

Verweis

DataServiceContext Klasse

BeginExecute-Überladung

System.Data.Services.Client-Namespace