Compartir a través de


IObjectOutput.Close Method

Definition

Closes the stream.

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

Exceptions

if an error occurs while closing the target stream.

Remarks

Closes the stream. This method must be called to release any resources associated with the stream.

Java documentation for java.io.ObjectOutput.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