Initializes a new BuildDefinitionSpecNotUniqueException instance.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    teamProject As String, _
    name As String _
)
public BuildDefinitionSpecNotUniqueException(
    string teamProject,
    string name
)
public:
BuildDefinitionSpecNotUniqueException(
    String^ teamProject, 
    String^ name
)
new : 
        teamProject:string * 
        name:string -> BuildDefinitionSpecNotUniqueException
public function BuildDefinitionSpecNotUniqueException(
    teamProject : String, 
    name : String
)
Parameters
- teamProject 
 Type: System.String- The team project that contains the non-unique build definition specs. 
- name 
 Type: System.String- The name of the non-unique build definition spec. 
.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.
See Also
Reference
BuildDefinitionSpecNotUniqueException Class