IpSecManager.UdpEncapsulationSocket.Close Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |