Socket.SupportedOptions Method
Definition
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.
Returns a set of the socket options supported by this socket.
[Android.Runtime.Register("supportedOptions", "()Ljava/util/Set;", "GetSupportedOptionsHandler", ApiSince=33)]
public virtual System.Collections.Generic.ICollection<Java.Net.ISocketOption>? SupportedOptions ();
[<Android.Runtime.Register("supportedOptions", "()Ljava/util/Set;", "GetSupportedOptionsHandler", ApiSince=33)>]
abstract member SupportedOptions : unit -> System.Collections.Generic.ICollection<Java.Net.ISocketOption>
override this.SupportedOptions : unit -> System.Collections.Generic.ICollection<Java.Net.ISocketOption>
Returns
A set of the socket options supported by this socket. This set may be empty if the socket's SocketImpl cannot be created.
- Attributes
Remarks
Returns a set of the socket options supported by this socket.
This method will continue to return the set of options even after the socket has been closed.
Added in 9.
Java documentation for java.net.Socket.supportedOptions()
.
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.