CancellationScope.CancelHandler Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The WorkflowElement that is executed in the event of cancellation.

Namespace:  System.Activities.Core
Assembly:  System.Activities.Core (in System.Activities.Core.dll)


Public Property CancelHandler As WorkflowElement
Dim instance As CancellationScope
Dim value As WorkflowElement

value = instance.CancelHandler

instance.CancelHandler = value
public WorkflowElement CancelHandler { get; set; }
property WorkflowElement^ CancelHandler {
    WorkflowElement^ get ();
    void set (WorkflowElement^ value);
function get CancelHandler () : WorkflowElement
function set CancelHandler (value : WorkflowElement)
member CancelHandler : WorkflowElement with get, set

Property Value

Type: System.Activities.WorkflowElement
The cancel handler.


Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also


CancellationScope Class

CancellationScope Members

System.Activities.Core Namespace