Condividi tramite


ResourceExecutedContext.ExceptionDispatchInfo Proprietà

Definizione

Ottiene o imposta l'oggetto corrente Exception.

public:
 virtual property System::Runtime::ExceptionServices::ExceptionDispatchInfo ^ ExceptionDispatchInfo { System::Runtime::ExceptionServices::ExceptionDispatchInfo ^ get(); void set(System::Runtime::ExceptionServices::ExceptionDispatchInfo ^ value); };
public virtual System.Runtime.ExceptionServices.ExceptionDispatchInfo ExceptionDispatchInfo { get; set; }
public virtual System.Runtime.ExceptionServices.ExceptionDispatchInfo? ExceptionDispatchInfo { get; set; }
member this.ExceptionDispatchInfo : System.Runtime.ExceptionServices.ExceptionDispatchInfo with get, set
Public Overridable Property ExceptionDispatchInfo As ExceptionDispatchInfo

Valore della proprietà

Commenti

L'impostazione Exception o ExceptionDispatchInfo per null trattare l'eccezione come gestita e non verrà rethrown dal runtime.

L'impostazione ExceptionHandled su true contrassegnerà anche l'eccezione come gestita.

Si applica a