HostAlreadyExistsException Constructor (String, Exception)

Initializes a new instance of the HostAlreadyExistsException class by using the specified message and inner exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public HostAlreadyExistsException(
    string message,
    Exception ex
)
public:
HostAlreadyExistsException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> HostAlreadyExistsException
public function HostAlreadyExistsException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String

    A user-readable message that states the error.

.NET Framework Security

See Also

Reference

HostAlreadyExistsException Class

HostAlreadyExistsException Overload

Microsoft.TeamFoundation.Framework.Client Namespace