TerminateWorkflow.Exception Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Ö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 .