Partager via


BufferedEventPublisher<TEntry>.FlushAsync Method

Applies to: Semantic Logging 2.0

Flushes all the buffered entries.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.dll) Version: 2.0.1406.1

Syntax

public Task FlushAsync()
'Declaration
Public Function FlushAsync As Task

Return Value

Type: Task
The task to wait for flush completion.

See Also

BufferedEventPublisher<TEntry> Class

BufferedEventPublisher<TEntry> Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility Namespace