Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the writer is shutting down.
Syntax
bool IsWriterShuttingDown();
Return value
Returns true if the writer is shutting down, or false otherwise.
Remarks
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.
Requirements
Requirement | Value |
---|---|
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) |
Library | VssApi.lib |