編輯

共用方式為


NSConnection.CreateService Method

Definition

Overloads

CreateService(String, NSObject, NSPortNameServer)
CreateService(String, NSObject)

CreateService(String, NSObject, NSPortNameServer)

[Foundation.Export("serviceConnectionWithName:rootObject:usingNameServer:")]
public static Foundation.NSConnection CreateService (string name, Foundation.NSObject root, Foundation.NSPortNameServer server);
static member CreateService : string * Foundation.NSObject * Foundation.NSPortNameServer -> Foundation.NSConnection

Parameters

name
String
root
NSObject

Returns

Attributes

Applies to

CreateService(String, NSObject)

[Foundation.Export("serviceConnectionWithName:rootObject:")]
public static Foundation.NSConnection CreateService (string name, Foundation.NSObject root);
static member CreateService : string * Foundation.NSObject -> Foundation.NSConnection

Parameters

name
String
root
NSObject

Returns

Attributes

Applies to