Initializes a new BuildAgentAlreadyExistsException instance.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public BuildAgentAlreadyExistsException(
    string message,
    Exception ex
)
public:
BuildAgentAlreadyExistsException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> BuildAgentAlreadyExistsException
public function BuildAgentAlreadyExistsException(
    message : String, 
    ex : Exception
)
Parameters
- message 
 Type: System.String- A message that describes the error. 
- ex 
 Type: System.Exception- The exception that caused this error. 
.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
BuildAgentAlreadyExistsException Class