ModelEditingScope.OnException Method (Exception)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Handles an exception.

Namespace:   System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

protected abstract bool OnException(
	Exception exception
)

Parameters

exception
Type: System.Exception

The exception to handle.

Return Value

Type: System.Boolean

true if the exception is handled; otherwise, false.

The Complete and Revert methods call this method to handle exceptions.

.NET Framework
Available since 4.0
Return to top
Show: