共用方式為


BaseActivity.CreateDisabledBody Method

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

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

Syntax

'Declaration
Public Overridable Function CreateDisabledBody As Activity
public virtual Activity CreateDisabledBody()
public:
virtual Activity^ CreateDisabledBody()
abstract CreateDisabledBody : unit -> Activity  
override CreateDisabledBody : unit -> Activity
public function CreateDisabledBody() : 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