Share via


EncoderStream.Flush Method

The Flush method clears all buffers in this EncoderStream object and causes any buffered data to be written.

Namespace: Microsoft.Exchange.Data.Mime.Encoders
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Overrides NotOverridable Sub Flush
public override sealed void Flush ()
public:
virtual void Flush () override sealed
public final void Flush ()
public override final function Flush ()

Exceptions

Exception type Condition
NotSupportedException

The stream does not support writing.

IOException

The data source or repository is not open.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003