Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Ottiene o imposta un valore che indica se viene generata un'eccezione in caso di restituzione di un errore 404 (risorsa non trovata) da parte del servizio dati.
Spazio dei nomi System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Sintassi
'Dichiarazione
Public Property IgnoreResourceNotFoundException As Boolean
Get
Set
'Utilizzo
Dim instance As DataServiceContext
Dim value As Boolean
value = instance.IgnoreResourceNotFoundException
instance.IgnoreResourceNotFoundException = value
public bool IgnoreResourceNotFoundException { get; set; }
public:
property bool IgnoreResourceNotFoundException {
bool get ();
void set (bool value);
}
member IgnoreResourceNotFoundException : bool with get, set
function get IgnoreResourceNotFoundException () : boolean
function set IgnoreResourceNotFoundException (value : boolean)
Valore proprietà
Tipo: System.Boolean
Se impostato su true, la libreria client restituisce un set vuoto, anziché generare un oggetto DataServiceQueryException in caso di restituzione da parte del servizio dati di un errore HTTP 404: Risorsa non trovata.