MonobjcMonobjc Documented Class Library
ProxyWithLocalConnection Method (anObject, aConnection)
NamespacesMonobjc.FoundationNSDistantObjectProxyWithLocalConnection(Id, NSConnection)

Returns a local proxy for a given object and connection, creating the proxy if necessary.

Original signature is '+ (NSDistantObject *)proxyWithLocal:(id)anObject connection:(NSConnection *)aConnection'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDistantObject ProxyWithLocalConnection(
	Id anObject,
	NSConnection aConnection
)
Public Shared Function ProxyWithLocalConnection ( _
	anObject As Id, _
	aConnection As NSConnection _
) As NSDistantObject
public:
static NSDistantObject^ ProxyWithLocalConnection(
	Id^ anObject, 
	NSConnection^ aConnection
)
Parameters
anObject (Id)
An object in the receiver’s address space.
aConnection (NSConnection)
The connection for the returned proxy.
Return Value
A local proxy for anObject and aConnection, creating it if necessary.
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)