TerminateWorkflow.Exception Özellik

Tanım

Örnek sonlandırmayı tetikleyen özel durumu alır veya ayarlar.

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)

Özellik Değeri

Özel durum.

Açıklamalar

'a Terminate geçirilen özel durum, yalnızca WorkflowApplicationTerminatedException ayarlanmışsa'dırReason. Yalnızca Exception ayarlanırsa, bu özel durum öğesine Terminategeçirilir. Hem hem de Reason ayarlandıysa, Exception belirtilen WorkflowApplicationTerminatedExceptionile geçirilir ve Reason özel durumun Exception özelliği olarak InnerException ayarlanır. Her ikisi de ayarlı değilse, varsayılan bir oluşturulur WorkflowApplicationTerminatedException .

Şunlara uygulanır