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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
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: StringThe name of the document that was loading.
exception
Type: ExceptionThe exception that was thrown.
isReload
Type: Booleantrue 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.