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
message
Type: System.StringDescribes the exception.
cancelledInnerException
Type: System.ExceptionAn 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.