DataServiceContext.BeginExecute Method (Uri, AsyncCallback, Object, String, OperationParameter[])

Asynchronously sends a request to the data service to execute a specific URI.

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

public IAsyncResult BeginExecute(
	Uri requestUri,
	AsyncCallback callback,
	Object state,
	string httpMethod,
	params OperationParameter[] operationParameters
)

Parameters

requestUri
Type: System.Uri
The URI to which the query request will be sent.
callback
Type: System.AsyncCallback
Delegate to invoke when results are available for client consumption.
state
Type: System.Object
User-defined state object passed to the callback.
httpMethod
Type: System.String
The HTTP data transfer method used by the client.
operationParameters
Type: System.Data.Services.Client.OperationParameter[]
The operation parameters used.

Return Value

Type: System.IAsyncResult
The result of the operation.
Show: