Partager via


CurrentRequestActivity.Execute Method

Runs the activity.

Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)

Usage

'Usage
Dim executionContext As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus

returnValue = Me.Execute(executionContext)

Syntax

'Declaration
Protected Overrides Function Execute ( _
    executionContext As ActivityExecutionContext _
) As ActivityExecutionStatus
protected override ActivityExecutionStatus Execute (
    ActivityExecutionContext executionContext
)
protected:
virtual ActivityExecutionStatus Execute (
    ActivityExecutionContext^ executionContext
) override
protected ActivityExecutionStatus Execute (
    ActivityExecutionContext executionContext
)
protected override function Execute (
    executionContext : ActivityExecutionContext
) : ActivityExecutionStatus

Parameters

Return Value

Returns a ActivityExecutionStatus value that indicates the status of the activity.

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

CurrentRequestActivity Class
CurrentRequestActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace