IObjectInput.Close Method

Definition

Closes the input stream.

[Android.Runtime.Register("close", "()V", "GetCloseHandler:Java.IO.IObjectInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler:Java.IO.IObjectInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Close : unit -> unit
Attributes

Exceptions

if an I/O error occurs while closing the input stream.

Remarks

Closes the input stream. Must be called to release any resources associated with the stream.

Java documentation for java.io.ObjectInput.close().

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.

Applies to