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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Protected Overridable Sub HandleLoadDocDataException ( _
    fileName As String, _
    exception As Exception, _
    isReload As Boolean _
)
'Usage
Dim fileName As String 
Dim exception As Exception 
Dim isReload As Boolean 

Me.HandleLoadDocDataException(fileName, _
    exception, isReload)
protected virtual void HandleLoadDocDataException(
    string fileName,
    Exception exception,
    bool isReload
)
protected:
virtual void HandleLoadDocDataException(
    String^ fileName, 
    Exception^ exception, 
    bool isReload
)
protected function HandleLoadDocDataException(
    fileName : String, 
    exception : Exception, 
    isReload : boolean
)

Parameters

  • fileName
    Type: System.String

    The name of the document that was loading.

  • isReload
    Type: System.Boolean

    true to reload the document; otherwise, false.

.NET Framework Security

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace