TeamFoundationStepPerformerBase.AddStepType Method (TeamFoundationStepType)
Registers a [stepType] delegate that can validate and perform a servicing step type.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub AddStepType ( _
stepType As TeamFoundationStepType _
)
public void AddStepType(
TeamFoundationStepType stepType
)
public:
void AddStepType(
TeamFoundationStepType^ stepType
)
member AddStepType :
stepType:TeamFoundationStepType -> unit
public function AddStepType(
stepType : TeamFoundationStepType
)
Parameters
stepType
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepTypeThe [stepType] delegate.
Remarks
The delegate's method name is used for the [stepType] name. Typically [AddStepType] will be called from a subclass' constructor.
Examples
AddStepType(CreateDatabase);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.