Język

AbstractClientConnAdapter.SocketTimeout Property

Definition

Gets or sets the socket timeout through the wrapped connection.

public virtual int SocketTimeout { [Android.Runtime.Register("getSocketTimeout", "()I", "GetGetSocketTimeoutHandler")] get; [Android.Runtime.Register("setSocketTimeout", "(I)V", "GetSetSocketTimeout_IHandler")] set; }
[<get: Android.Runtime.Register("getSocketTimeout", "()I", "GetGetSocketTimeoutHandler")>]
[<set: Android.Runtime.Register("setSocketTimeout", "(I)V", "GetSetSocketTimeout_IHandler")>]
member this.SocketTimeout : int with get, set

Property Value

The timeout in milliseconds; zero disables the timeout. A getter result of -1 indicates an undefined timeout.

Implements

Attributes

Remarks

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