Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CancelRequest Method

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


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.


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

© 2015 Microsoft