共用方式為


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

傳回

屬性

適用於