次の方法で共有


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

'宣言
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.
  • isReload
    Type: System.Boolean
    true to reload the document; otherwise, false.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace