共用方式為


CannotMoveToRootException Constructor (String, Exception)

Encapsulates a message string and exception object into a CannotMoveToRootException.

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

Parameters

  • message
    Type: System.String

    A message that describes the exception.

.NET Framework Security

See Also

Reference

CannotMoveToRootException Class

CannotMoveToRootException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace