共用方式為


CancelException Constructor (String, Exception)

Initializes a new CancelException instance.

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

Syntax

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

Parameters

  • cancelledInnerException
    Type: System.Exception

    An exception object from which to create a CancelException instance.

.NET Framework Security

See Also

Reference

CancelException Class

CancelException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace