HttpContext.Error Proprietà

Definizione

Ottiene il primo errore (se presente) accumulato durante l'elaborazione delle richieste HTTP.

public:
 property Exception ^ Error { Exception ^ get(); };
public Exception Error { get; }
member this.Error : Exception
Public ReadOnly Property Error As Exception

Valore della proprietà

Primo Exception per il processo di richiesta/risposta HTTP corrente; in caso contrario, null se non sono stati accumulati errori durante l'elaborazione della richiesta HTTP. Il valore predefinito è null.

Si applica a

Vedi anche