DocData.HandleSaveDocDataException Method

Manages any exceptions that were thrown when the document was saving.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Protected Overridable Sub HandleSaveDocDataException ( _
    fileName As String, _
    exception As Exception _
)
'使用
Dim fileName As String
Dim exception As Exception

Me.HandleSaveDocDataException(fileName, _
    exception)
protected virtual void HandleSaveDocDataException(
    string fileName,
    Exception exception
)
protected:
virtual void HandleSaveDocDataException(
    String^ fileName, 
    Exception^ exception
)
protected function HandleSaveDocDataException(
    fileName : String, 
    exception : Exception
)

Parameters

  • fileName
    Type: System.String

    The name of the document that was saving.

Permissions

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace