Share via


InvalidVersionSpecException Constructor (String, Exception)

Initializes a new instance of the InvalidVersionSpecException class with error message and inner exception.

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 InvalidVersionSpecException(
    string message,
    Exception ex
)
public:
InvalidVersionSpecException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> InvalidVersionSpecException
public function InvalidVersionSpecException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String

    The message string that describes the error.

  • ex
    Type: System.Exception

    The inner exception that is the cause of the current exception.

.NET Framework Security

See Also

Reference

InvalidVersionSpecException Class

InvalidVersionSpecException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace