Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к