.NET Framework Class Library
ActivityExecutionContext Class

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

Represents the execution environment of an Activity. This class cannot be inherited.

Namespace:  System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
Syntax

Visual Basic (Declaration)
Public NotInheritable Class ActivityExecutionContext _
    Implements IServiceProvider, IDisposable
Visual Basic (Usage)
Dim instance As ActivityExecutionContext
C#
public sealed class ActivityExecutionContext : IServiceProvider, 
    IDisposable
Visual C++
public ref class ActivityExecutionContext sealed : IServiceProvider, 
    IDisposable
F#
[<SealedAttribute>]
type ActivityExecutionContext =  
    class
        interface IServiceProvider
        interface IDisposable
    end
Remarks

Represents the execution environment of an Activity. This class selectively exposes workflow runtime capabilities and services to individual activities. This class cannot be inherited.

Understanding the Activity Execution Context.

Inheritance Hierarchy

System..::.Object
  System.Workflow.ComponentModel..::.ActivityExecutionContext
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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, 3.5, 3.0
See Also

Reference

Page view tracker