NSConnection.LookupService 方法

定义

重载

LookupService(String, String)
LookupService(String, String, NSPortNameServer)

LookupService(String, String)

[Foundation.Export("connectionWithRegisteredName:host:")]
public static Foundation.NSConnection LookupService (string name, string hostName);
static member LookupService : string * string -> Foundation.NSConnection

参数

name
String
hostName
String

返回

属性

适用于

LookupService(String, String, NSPortNameServer)

[Foundation.Export("connectionWithRegisteredName:host:usingNameServer:")]
public static Foundation.NSConnection LookupService (string name, string hostName, Foundation.NSPortNameServer server);
static member LookupService : string * string * Foundation.NSPortNameServer -> Foundation.NSConnection

参数

name
String
hostName
String

返回

属性

适用于