Compartilhar via


SocketImpl.Close Method

Definition

Closes this socket.

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
protected abstract void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler")>]
abstract member Close : unit -> unit
Attributes

Exceptions

if an error occurs while closing this socket.

Remarks

Closes this socket.

Java documentation for java.net.SocketImpl.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