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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.