Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Commits all accumulated log messages to disk.
Syntax
virtual HRESULT FlushLog() = 0;
Parameters
This method has no parameters.
Return value
If the function succeeds, the return is S_OK.
Remarks
Axe s ETW session stores log messages in a circular buffer in memory. When the buffer gets full, the log messages are committed to disk. This method forces the buffers to be committed to disk so that the information is not lost.
This method should only be called in situations where there is danger of data being lost due to a loss of power or an unsuccessful shutdown.
Managed code uses the Logging.FlushLog method.
Requirements
| Minimum supported client |
Windows 7 [desktop apps only] |
| Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
| Header |
|
| DLL |
|