Share via


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

Syntax

'Declaration
Protected Overridable Sub HandleSaveDocDataException ( _
    fileName As String, _
    exception As Exception _
)
protected virtual void HandleSaveDocDataException(
    string fileName,
    Exception exception
)
protected:
virtual void HandleSaveDocDataException(
    String^ fileName, 
    Exception^ exception
)
abstract HandleSaveDocDataException : 
        fileName:string * 
        exception:Exception -> unit  
override HandleSaveDocDataException : 
        fileName:string * 
        exception:Exception -> unit
protected function HandleSaveDocDataException(
    fileName : String, 
    exception : Exception
)

Parameters

  • fileName
    Type: String

    The name of the document that was saving.

  • exception
    Type: Exception

    The exception that was thrown.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace