IVsFileBackup2 Interface

Definition

This interface should be supported by doc data that should be backed up. Visual Studio File Recovery backs up all objects in the Running Document Table that support IVsFileBackup2 and have unsaved changes. Implement this interface rather than IVsFileBackup if your component supports asynchronous backups that do not run on the UI thread.

public interface class IVsFileBackup2
public interface class IVsFileBackup2
__interface IVsFileBackup2
[System.Runtime.InteropServices.Guid("4FFA05A4-6C77-4952-AB60-B33E0A6416C5")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFileBackup2
[<System.Runtime.InteropServices.Guid("4FFA05A4-6C77-4952-AB60-B33E0A6416C5")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFileBackup2 = interface
Public Interface IVsFileBackup2
Attributes

Methods

BackupFileAsync(String)

Backs up the file asynchronously.

HasChangedSinceLastBackup()

Determines whether the file has changed since the last backup.

Applies to