ModelingEditorFactory.HandleEditorCreationException Method

Handles an exception if one occurs when an additional modeling editor is created.

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

Syntax

'Declaration
Protected Overridable Sub HandleEditorCreationException ( _
    fileName As String, _
    exception As Exception _
)
protected virtual void HandleEditorCreationException(
    string fileName,
    Exception exception
)
protected:
virtual void HandleEditorCreationException(
    String^ fileName, 
    Exception^ exception
)
abstract HandleEditorCreationException : 
        fileName:string * 
        exception:Exception -> unit  
override HandleEditorCreationException : 
        fileName:string * 
        exception:Exception -> unit
protected function HandleEditorCreationException(
    fileName : String, 
    exception : Exception
)

Parameters

  • fileName
    Type: String

    The name of the document.

  • exception
    Type: Exception

    The exception that was thrown.

.NET Framework Security

See Also

Reference

ModelingEditorFactory Class

Microsoft.VisualStudio.Modeling.Shell Namespace