.NET Framework Class Library
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.Statements
Assembly:  System.Activities (in System.Activities.dll)
Syntax

Visual Basic (Declaration)
Public Property CancelHandler As WorkflowElement
    Get
    Set
Visual Basic (Usage)
Dim instance As CancellationScope
Dim value As WorkflowElement

value = instance.CancelHandler

instance.CancelHandler = value
C#
public WorkflowElement CancelHandler { get; set; }
Visual C++
public:
property WorkflowElement^ CancelHandler {
    WorkflowElement^ get ();
    void set (WorkflowElement^ value);
}
JScript
function get CancelHandler () : WorkflowElement
function set CancelHandler (value : WorkflowElement)
F#
member CancelHandler : WorkflowElement with get, set

Property Value

Type: System.Activities..::.WorkflowElement
The cancel handler.
Platforms

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

Reference

Page view tracker