Udostępnij za pośrednictwem


SqlDatabaseSink.FlushAsync Method

Applies to: Semantic Logging 2.0

Flushes the buffer content to PublishEventsAsync(IList<EventEntry>).

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

Syntax

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

Return Value

Type: Task
The Task that flushes the buffer.

See Also

SqlDatabaseSink Class

SqlDatabaseSink Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace