WorkItemType.Validate Method (WorkItemStore, 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
'Declaración
Public Shared Sub Validate ( _
store As WorkItemStore, _
definition As String _
)
public static void Validate(
WorkItemStore store,
string definition
)
public:
static void Validate(
WorkItemStore^ store,
String^ definition
)
static member Validate :
store:WorkItemStore *
definition:string -> unit
public static function Validate(
store : WorkItemStore,
definition : String
)
Parameters
- store
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore
The WorkItemStore that contains this work item type.
- 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
- 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.