CVssWriterEx2::IsWriterShuttingDown method
Determines whether the writer is shutting down.
Syntax
bool IsWriterShuttingDown();
Parameters
This method has no parameters.
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
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/5/2012
