NativeActivityAbortContext.Reason Property

Definition

Gets an Exception that contains the reason for the activity being aborted.

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

Property Value

An exception that contains the reason for the activity being aborted.

Applies to