WorkItemType.Validate Method (Project, String, String)
Validates the work item type in the context of the given Project and development method.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Shared Sub Validate ( _
project As Project, _
definition As String, _
methodologyName As String _
)
public static void Validate(
Project project,
string definition,
string methodologyName
)
public:
static void Validate(
Project^ project,
String^ definition,
String^ methodologyName
)
static member Validate :
project:Project *
definition:string *
methodologyName:string -> unit
public static function Validate(
project : Project,
definition : String,
methodologyName : String
)
Parameters
project
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.ProjectThe Project that is associated with this work item type.
definition
Type: System.StringThe XML definition of this work item type.
methodologyName
Type: System.StringThe name of the development methodology.
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.