CVssWriterEx2::IsWriterShuttingDown method (vswriter.h)
Determines whether the writer is shutting down.
Returns true if the writer is shutting down, or false otherwise.
The writer implementation should call this method periodically during long-running events where the writer is performing a large amount of processing or looping. If this method returns true during the event, the writer should do the following:
- Log an error to the Application Event Log event. This is optional, but recommended.
- Call SetWriterFailure or SetWriterFailureEx, passing a non-retryable error code for the hr or hrWriter parameter.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|
|Header||vswriter.h (include Vss.h, VsWriter.h)|