Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataServiceContext.IgnoreResourceNotFoundException Property

Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
public bool IgnoreResourceNotFoundException { get; set; }

Property Value

Type: System.Boolean
When set to true, the client library returns an empty set instead of raising a DataServiceQueryException when the data service returns an HTTP 404: Resource Not Found error.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.