TerminateWorkflow.Exception 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 sets the exception that provoked the instance termination.
public:
property System::Activities::InArgument<Exception ^> ^ Exception { System::Activities::InArgument<Exception ^> ^ get(); void set(System::Activities::InArgument<Exception ^> ^ value); };
public System.Activities.InArgument<Exception> Exception { get; set; }
member this.Exception : System.Activities.InArgument<Exception> with get, set
Public Property Exception As InArgument(Of Exception)
Property Value
The exception.
Remarks
The exception that is passed to Terminate is a WorkflowApplicationTerminatedException if only Reason is set. If only Exception is set, that exception is passed to Terminate. If both Reason and Exception are set, a WorkflowApplicationTerminatedException is passed with the specified Reason, and Exception is set as the exception's InnerException property. If neither is set, a default WorkflowApplicationTerminatedException is created.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om