Export (0) Print
Expand All

DataServiceContext.CancelRequest Method

Cancels a request to the DataServiceContext.

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

public void CancelRequest(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System.IAsyncResult
The status of the asynchronous operation to be cancelled.

The DataServiceContext is not in a predictable state until after the IsCompleted property of the returned asyncResult is true.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft