WorkflowInstance.OnNotifyUnhandledException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by the workflow runtime to notify the host an unhandled exception has occurred in the workflow instance.
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)
Parameters
- exception
- Exception
The unhandled exception.
- source
- Activity
The activity that threw the exception.
- sourceInstanceId
- String
The unique identifier of the ActivityInstance representing the activity that threw the exception.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.