Freigeben über


SecurityManager.CheckConnect Method

Definition

Overloads

CheckConnect(String, Int32)
CheckConnect(String, Int32, Object)

CheckConnect(String, Int32)

[Android.Runtime.Register("checkConnect", "(Ljava/lang/String;I)V", "GetCheckConnect_Ljava_lang_String_IHandler")]
public virtual void CheckConnect (string? host, int port);
[<Android.Runtime.Register("checkConnect", "(Ljava/lang/String;I)V", "GetCheckConnect_Ljava_lang_String_IHandler")>]
abstract member CheckConnect : string * int -> unit
override this.CheckConnect : string * int -> unit

Parameters

host
String
port
Int32
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

CheckConnect(String, Int32, Object)

[Android.Runtime.Register("checkConnect", "(Ljava/lang/String;ILjava/lang/Object;)V", "GetCheckConnect_Ljava_lang_String_ILjava_lang_Object_Handler")]
public virtual void CheckConnect (string? host, int port, Java.Lang.Object? context);
[<Android.Runtime.Register("checkConnect", "(Ljava/lang/String;ILjava/lang/Object;)V", "GetCheckConnect_Ljava_lang_String_ILjava_lang_Object_Handler")>]
abstract member CheckConnect : string * int * Java.Lang.Object -> unit
override this.CheckConnect : string * int * Java.Lang.Object -> unit

Parameters

host
String
port
Int32
context
Object
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