Bagikan melalui


WorkflowInstance.OnNotifyUnhandledException Metode

Definisi

Dipanggil oleh runtime alur kerja untuk memberi tahu host pengecualian yang tidak tertangani telah terjadi dalam instans alur kerja.

protected:
 abstract void OnNotifyUnhandledException(Exception ^ exception, System::Activities::Activity ^ source, System::String ^ sourceInstanceId);
protected abstract void OnNotifyUnhandledException (Exception exception, System.Activities.Activity source, string sourceInstanceId);
abstract member OnNotifyUnhandledException : Exception * System.Activities.Activity * string -> unit
Protected MustOverride Sub OnNotifyUnhandledException (exception As Exception, source As Activity, sourceInstanceId As String)

Parameter

exception
Exception

Pengecualian yang tidak tertangani.

source
Activity

Aktivitas yang melemparkan pengecualian.

sourceInstanceId
String

Pengidentifikasi unik dari ActivityInstance yang mewakili aktivitas yang melemparkan pengecualian.

Berlaku untuk