DocData.HandleLoadDocDataException Method
Manages any exceptions that were thrown when the document was loading.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Overridable Sub HandleLoadDocDataException ( _
fileName As String, _
exception As Exception, _
isReload As Boolean _
)
protected virtual void HandleLoadDocDataException(
string fileName,
Exception exception,
bool isReload
)
protected:
virtual void HandleLoadDocDataException(
String^ fileName,
Exception^ exception,
bool isReload
)
abstract HandleLoadDocDataException :
fileName:string *
exception:Exception *
isReload:bool -> unit
override HandleLoadDocDataException :
fileName:string *
exception:Exception *
isReload:bool -> unit
protected function HandleLoadDocDataException(
fileName : String,
exception : Exception,
isReload : boolean
)
Parameters
- fileName
Type: System.String
The name of the document that was loading.
- exception
Type: System.Exception
The exception that was thrown.
- isReload
Type: System.Boolean
true to reload the document; otherwise, false.
.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.