Share via


ResourceExecutedContext.ExceptionDispatchInfo Eigenschaft

Definition

Ruft die aktuelle Exceptionab oder legt sie fest.

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

Eigenschaftswert

Hinweise

Wenn Sie Exception oder ExceptionDispatchInfo auf null festlegen, wird die Ausnahme behandelt, und sie wird von der Laufzeit nicht erneut ausgelöst.

Wenn Sie auf festlegen ExceptionHandled , true wird auch die Ausnahme als behandelt markiert.

Gilt für: