NSConnection.LookupService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LookupService(String, String)
[Foundation.Export("connectionWithRegisteredName:host:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSConnection? LookupService(string name, string? hostName);
[<Foundation.Export("connectionWithRegisteredName:host:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSConnection? LookupService(string name, string? hostName, Foundation.NSPortNameServer server);
[<Foundation.Export("connectionWithRegisteredName:host:usingNameServer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member LookupService : string * string * Foundation.NSPortNameServer -> Foundation.NSConnection
Parameters
- name
- String
- hostName
- String
- server
- NSPortNameServer
Returns
- Attributes