ObjectOutputStream.Drain Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Drain any buffered data in ObjectOutputStream.
[Android.Runtime.Register("drain", "()V", "GetDrainHandler")]
protected virtual void Drain ();
[<Android.Runtime.Register("drain", "()V", "GetDrainHandler")>]
abstract member Drain : unit -> unit
override this.Drain : unit -> unit
- Attributes
Exceptions
if an error occurs while writing to the target stream.
Remarks
Drain any buffered data in ObjectOutputStream. Similar to flush but does not propagate the flush to the underlying stream.
Java documentation for java.io.ObjectOutputStream.drain()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.