Java.Net.ISocketOptions.GetOption Method
Gets the value for the specified socket option.

Syntax

[Android.Runtime.Register("getOption", "(I)Ljava/lang/Object;", "GetGetOption_IHandler:Java.Net.ISocketOptionsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object GetOption (int optID)

Parameters

optID
the option identifier.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.SocketExceptionif an error occurs reading the option value.

Remarks

Gets the value for the specified socket option.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1