Handles an exception if one occurs when an additional modeling editor is created.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Overridable Sub HandleEditorCreationException ( _
fileName As String, _
exception As Exception _
)
'使用
Dim fileName As String
Dim exception As Exception
Me.HandleEditorCreationException(fileName, _
exception)
protected virtual void HandleEditorCreationException(
string fileName,
Exception exception
)
protected:
virtual void HandleEditorCreationException(
String^ fileName,
Exception^ exception
)
protected function HandleEditorCreationException(
fileName : String,
exception : Exception
)
Parameters
fileName
Type: System.StringThe name of the document.
exception
Type: System.ExceptionThe exception that was thrown.
Permissions
- 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.