Muokkaa

Jaa


PipeStream.Flush Method

Definition

Clears the buffer for the current stream and causes any buffered data to be written to the underlying device.

public:
 override void Flush();
public override void Flush ();
[System.Security.SecurityCritical]
public override void Flush ();
override this.Flush : unit -> unit
[<System.Security.SecurityCritical>]
override this.Flush : unit -> unit
Public Overrides Sub Flush ()
Attributes

Exceptions

The pipe is closed.

The pipe does not support write operations.

The pipe is broken or another I/O error occurred.

Remarks

The Flush method is not supported in the PipeStream class and does nothing when it is called.

Applies to