NetworkStream.Flush 方法

定義

清除資料流的資料。 這個方法是保留供日後使用。

public:
 override void Flush();
public override void Flush ();
override this.Flush : unit -> unit
Public Overrides Sub Flush ()

備註

方法 Flush 會實作 Stream.Flush 方法;不過,因為 NetworkStream 未緩衝處理,因此不會影響網路數據流。 Flush呼叫 方法不會擲回例外狀況。

適用於