MonobjcMonobjc Documented Class Library
RootProxyForConnectionWithRegisteredNameHostUsingNameServer Method (name, hostName, server)
NamespacesMonobjc.FoundationNSConnectionRootProxyForConnectionWithRegisteredNameHostUsingNameServer(NSString, NSString, NSPortNameServer)

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.

Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
name (NSString)
The name of an NSConnection object .
hostName (NSString)
A host name.
server (NSPortNameServer)
The server.
Return Value
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.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)