Aracılığıyla paylaş


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 Reason ayarlanmışsa'dırWorkflowApplicationTerminatedException. Yalnızca Exception ayarlanırsa, bu özel durum öğesine Terminategeçirilir. Hem hem de Reason ayarlandıysa, WorkflowApplicationTerminatedException belirtilen Reasonile geçirilir ve Exception özel durumun InnerException özelliği olarak Exception ayarlanır. Her ikisi de ayarlı değilse, varsayılan bir oluşturulur WorkflowApplicationTerminatedException .

Şunlara uygulanır