Freigeben über


SocketKeepalive.ErrorInvalidPort Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.ErrorCode enum directly instead of this field.

The port is invalid.

[Android.Runtime.Register("ERROR_INVALID_PORT", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.ErrorCode enum directly instead of this field.", true)]
public const Android.Net.ErrorCode ErrorInvalidPort = -22;
[<Android.Runtime.Register("ERROR_INVALID_PORT", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.ErrorCode enum directly instead of this field.", true)>]
val mutable ErrorInvalidPort : Android.Net.ErrorCode

Field Value

Value = -22
Attributes

Remarks

The port is invalid.

Java documentation for android.net.SocketKeepalive.ERROR_INVALID_PORT.

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