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