Share via


FlatFileSink.FlushAsync Method

Applies to: Semantic Logging 2.0

Flushes the buffer content to the file.

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

Syntax

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

Return Value

Type: Task
The Task that gets completed when the buffer is flushed.

See Also

FlatFileSink Class

FlatFileSink Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace