DataServiceContext.IgnoreResourceNotFoundException Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service.
public:
property bool IgnoreResourceNotFoundException { bool get(); void set(bool value); };
public bool IgnoreResourceNotFoundException { get; set; }
member this.IgnoreResourceNotFoundException : bool with get, set
Public Property IgnoreResourceNotFoundException As Boolean
Property Value
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.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.