Java.IO.ObjectOutputStream.Drain Method
Writes buffered data to the target stream.

Syntax

[Android.Runtime.Register("drain", "()V", "GetDrainHandler")]
protected virtual void Drain ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while writing to the target stream.

Remarks

Writes buffered data to the target stream. This is similar to flush but the flush is not propagated to the target stream.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1