共用方式為


BaseActivity.CreateBody Method

Override this method to provide the Activity chain for your activity.

Namespace:  Microsoft.TeamFoundation.Build.Activities.Core
Assembly:  Microsoft.TeamFoundation.Build.Activities (in Microsoft.TeamFoundation.Build.Activities.dll)

Syntax

'Declaration
Public MustOverride Function CreateBody As Activity
public abstract Activity CreateBody()
public:
virtual Activity^ CreateBody() abstract
abstract CreateBody : unit -> Activity
public abstract function CreateBody() : Activity

Return Value

Type: System.Activities.Activity
An Activity which defines the workflow to be executed by the derived activity.

.NET Framework Security

See Also

Reference

BaseActivity Class

Microsoft.TeamFoundation.Build.Activities.Core Namespace