Partager via


ResourceExecutedContext.ExceptionDispatchInfo Propriété

Définition

Obtient ou définit le actuel 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

Valeur de propriété

Remarques

La définition Exception de ou ExceptionDispatchInfo de null traitera l’exception comme gérée, et elle ne sera pas réapprépliquée par le runtime.

Le paramètre ExceptionHandled sur true marque également l’exception comme étant gérée.

S’applique à