Share via


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: String

    The name of the document that was loading.

  • exception
    Type: Exception

    The exception that was thrown.

  • isReload
    Type: Boolean

    true to reload the document; otherwise, false.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace