Edit

Share via


NSConnection.LookupService Method

Definition

Overloads

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

Parameters

name
String
hostName
String

Returns

Attributes

Applies to

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

Parameters

name
String
hostName
String

Returns

Attributes

Applies to