.NET Framework Class Library
CancellationScope..::.Body Property

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

Gets the Activity contained by the CancellationScope that represents the main path of execution.

Namespace:  System.Activities.Statements
Assembly:  System.Activities (in System.Activities.dll)
Syntax

Visual Basic (Declaration)
Public Property Body As Activity
    Get
    Set
Visual Basic (Usage)
Dim instance As CancellationScope
Dim value As Activity

value = instance.Body

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

Property Value

Type: System.Activities..::.Activity
The main path of execution.
.NET Framework Security

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

.NET Framework Client Profile

Supported in: 4
See Also

Reference

Page view tracker