CVssWriterEx2 class (vswriter.h)

The CVssWriterEx2 class is an abstract base class that defines the interface by which a writer synchronizes its state with VSS and other writers.

The CVssWriterEx2 class inherits the methods of the CVssWriterEx class.

Every writer must create an instance of the
CVssWriterEx2, CVssWriterEx, or CVssWriter class.

Objects that are derived from CVssWriterEx2 must supply implementations for all of the pure virtual methods of the CVssWriterEx and CVssWriter classes.

A writer can override any or all of the virtual methods of CVssWriterEx and CVssWriter. However, a writer can override the OnIdentify or OnIdentifyEx method, but not both.

CVssWriterEx2 has these types of members:

Inheritance

The CVssWriterEx2 class implements CVssWriterEx.

Methods

The CVssWriterEx2 class has these methods.

 
CVssWriterEx2::GetSessionId

Returns the writer's session identifier.
CVssWriterEx2::IsWriterShuttingDown

Determines whether the writer is shutting down.
CVssWriterEx2::SetWriterFailureEx

Sets extended error information to indicate that the writer has encountered a problem with participating in a VSS operation.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header vswriter.h (include Vss.h, VsWriter.h)

See also

CVssWriter

CVssWriterEx