Partager via


FileCancelException Constructor (String, Exception)

Initializes a new instance of the FileCancelException class.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Déclaration
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.String
    The error message that explains why the exception was thrown.
  • innerException
    Type: System.Exception
    The 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

See Also

Reference

FileCancelException Class

FileCancelException Overload

Microsoft.VisualStudio.Modeling.Shell Namespace