共用方式為


VersionControlException Constructor (String, Exception)

Initializes a new VersionControlException instance.

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

Syntax

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public VersionControlException(
    string message,
    Exception innerException
)
public:
VersionControlException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> VersionControlException
public function VersionControlException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String
    A message that describes the error.

.NET Framework Security

See Also

Reference

VersionControlException Class

VersionControlException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace