IStepPerformer.ValidateStep Method

Validates that the stepType is a known action and the stepData, if it is required, is correctly formatted and can be parsed.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)


Sub ValidateStep ( _
    operation As String, _
    stepType As String, _
    stepData As String, _
    context As ServicingContext _
void ValidateStep(
    string operation,
    string stepType,
    string stepData,
    ServicingContext context
void ValidateStep(
    String^ operation, 
    String^ stepType, 
    String^ stepData, 
    ServicingContext^ context
abstract ValidateStep : 
        operation:string * 
        stepType:string * 
        stepData:string * 
        context:ServicingContext -> unit
function ValidateStep(
    operation : String, 
    stepType : String, 
    stepData : String, 
    context : ServicingContext


  • operation
    Type: System.String

    The servicing operation: Install, Upgrade, and so on

  • stepType
    Type: System.String

    A short name identifying the action to perform, e.g. "CreateDatabase". See IServicingStep.StepType.


Values in the stepData may also be validated. For example, if a step takes a file argument, ValidateStep may confirm the file already exists. An exception is thrown if a validation fails.

.NET Framework Security

See Also


IStepPerformer Interface

Microsoft.TeamFoundation.Framework.Server Namespace