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
'Déclaration
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
- message
Type: System.String
Describes the exception.
- cancelledInnerException
Type: System.Exception
An exception object from which to create a CancelException instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.