Initializes a new instance of the FileCancelException class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim instance As New FileCancelException(message, _
innerException)
public FileCancelException(
string message,
Exception innerException
)
public:
FileCancelException(
String^ message,
Exception^ innerException
)
public function FileCancelException(
message : String,
innerException : Exception
)
Parameters
message
Type: System.StringThe error message that explains why the exception was thrown.
innerException
Type: System.ExceptionThe exception that caused the current exception. If the innerException parameter is not nulla null reference (Nothing in Visual Basic), the current exception is raised in a catch block for the inner exception.
.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.