共用方式為


IllegalComputerNameException Constructor (String, Exception)

Encapsulates a message string and exception object into an IllegalComputerNameException.

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

Syntax

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

Parameters

  • message
    Type: System.String

    A message that describes the exception.

.NET Framework Security

See Also

Reference

IllegalComputerNameException Class

IllegalComputerNameException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace