FileCancelException Constructor (String, Exception)

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.String

    The error message that explains why the exception was thrown.

  • innerException
    Type: System.Exception

    The 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

See Also

Reference

FileCancelException Class

FileCancelException Members

FileCancelException Overload

Microsoft.VisualStudio.Modeling.Shell Namespace