共用方式為


InetSocketAddress.IsUnresolved Property

Definition

Checks whether the address has been resolved or not.

public bool IsUnresolved { [Android.Runtime.Register("isUnresolved", "()Z", "")] get; }
[<get: Android.Runtime.Register("isUnresolved", "()Z", "")>]
member this.IsUnresolved : bool

Property Value

true if the hostname couldn't be resolved into an InetAddress.

Attributes

Remarks

Checks whether the address has been resolved or not.

Java documentation for java.net.InetSocketAddress.isUnresolved().

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