ResourceExecutedContext.ExceptionDispatchInfo Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or set the current 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
Property Value
Remarks
Setting Exception or ExceptionDispatchInfo to null
will treat the exception as handled, and it will not be rethrown by the runtime.
Setting ExceptionHandled to true
will also mark the exception as handled.