共用方式為


WorkItemType.Validate Method (WorkItemStore, String, String)

Validates the work item type in the context of the specified WorkItemStore.

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

Syntax

'宣告
Public Shared Sub Validate ( _
    store As WorkItemStore, _
    definition As String, _
    methodologyName As String _
)
public static void Validate(
    WorkItemStore store,
    string definition,
    string methodologyName
)
public:
static void Validate(
    WorkItemStore^ store, 
    String^ definition, 
    String^ methodologyName
)
static member Validate : 
        store:WorkItemStore * 
        definition:string * 
        methodologyName:string -> unit 
public static function Validate(
    store : WorkItemStore, 
    definition : String, 
    methodologyName : String
)

Parameters

  • definition
    Type: System.String
    The XML definition of this work item type.
  • methodologyName
    Type: System.String
    The name of the development methodology.

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