Returns a proxy for the root object of the NSConnection object registered with server under name on a given host.
Original signature is '+ (NSDistantObject *)rootProxyForConnectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameServer:(NSPortNameServer *)server'
Available in Mac OS X v10.0 and later.
| C# | Visual Basic | Visual C++ |
public static NSDistantObject RootProxyForConnectionWithRegisteredNameHostUsingNameServer( NSString name, NSString hostName, NSPortNameServer server )
Public Shared Function RootProxyForConnectionWithRegisteredNameHostUsingNameServer ( _ name As NSString, _ hostName As NSString, _ server As NSPortNameServer _ ) As NSDistantObject
public: static NSDistantObject^ RootProxyForConnectionWithRegisteredNameHostUsingNameServer( NSString^ name, NSString^ hostName, NSPortNameServer^ server )
- name (NSString)
- The name of an NSConnection object .
- hostName (NSString)
- A host name.
- server (NSPortNameServer)
- The server.
A proxy for the root object of the NSConnection object registered with server under name on the host named hostName, or nil if that NSConnection object has no root object set.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)