다음을 통해 공유


IpSecManager.UdpEncapsulationSocket.Close Method

Definition

Close this socket.

[Android.Runtime.Register("close", "()V", "", ApiSince=28)]
public void Close ();
[<Android.Runtime.Register("close", "()V", "", ApiSince=28)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Remarks

Close this socket.

This closes the wrapped socket. Open encapsulation sockets count against a user's resource limits, and forgetting to close them eventually will result in ResourceUnavailableException being thrown.

Java documentation for android.net.IpSecManager.UdpEncapsulationSocket.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