Compartir a través de


WorkItemType.Validate Method (Project, String)

Validates this work item type in the context of the specified Project.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaración
Public Shared Sub Validate ( _
    project As Project, _
    definition As String _
)
public static void Validate(
    Project project,
    string definition
)
public:
static void Validate(
    Project^ project, 
    String^ definition
)
static member Validate : 
        project:Project * 
        definition:string -> unit 
public static function Validate(
    project : Project, 
    definition : String
)

Parameters

  • definition
    Type: System.String
    The XML definition of this work item type.

Exceptions

Exception Condition
ArgumentNullException

At least one parameter is null.

.NET Framework Security

See Also

Reference

WorkItemType Class

Validate Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace