WorkflowInstance.OnNotifyUnhandledException Metod

Definition

Anropas av arbetsflödeskörningen för att meddela värden att ett ohanterat undantag har inträffat i arbetsflödesinstansen.

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)

Parametrar

exception
Exception

Det ohanterade undantaget.

source
Activity

Den aktivitet som utlöste undantaget.

sourceInstanceId
String

Den unika identifieraren för den ActivityInstance som representerar den aktivitet som utlöste undantaget.

Gäller för