FileCancelException Constructor (String, Exception)
Initializes a new instance of the FileCancelException class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public FileCancelException(
string message,
Exception innerException
)
public:
FileCancelException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> FileCancelException
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 </w:t></w:r><w:r><w:rPr><w:rStyle w:val="ParameterReference"/></w:rPr><w:t>innerException</w:t></w:r><w:r><w:t> parameter is not null, 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.