Export (0) Print
Expand All

DataServiceContext.Execute Method (Uri, String, OperationParameter[])

WCF Data Services 5.0

Sends a request to the data service to execute a specific URI by using a specific HTTP method.

Not supported by the WCF Data Services 5.0 client for Silverlight.

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

public OperationResponse Execute(
	Uri requestUri,
	string httpMethod,
	params OperationParameter[] operationParameters


Type: System.Uri
The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters.
Type: System.String
The HTTP data transfer method used by the client.
Type: System.Data.Services.Client.OperationParameter[]
The operation parameters used.

Return Value

Type: System.Data.Services.Client.OperationResponse
The response of the operation.
© 2015 Microsoft