Client CreateProxyToPrivateInstance I  Method NetworkComms.Net Help
Creates a remote proxy instance for the desired interface with the specified server and object identifier. Instance is private to this client in the sense that no one else can use the instance on the server unless they have the instanceId returned by this method

Namespace: RemoteProcedureCalls
Assembly: RemoteProcedureCalls (in RemoteProcedureCalls.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public static I CreateProxyToPrivateInstance<I>(
	Connection connection,
	string instanceName,
	out string instanceId,
	SendReceiveOptions options = null
)
where I : class

Parameters

connection
Type: NetworkCommsDotNet.Connections Connection
The connection over which to perform remote procedure calls
instanceName
Type: OnlineSystem String
The object identifier to use for this proxy
instanceId
Type: OnlineSystem String 
Outputs the instance Id uniquely identifying this object on the server. Can be used to re-establish connection to object if connection is dropped
options (Optional)
Type: NetworkCommsDotNet SendReceiveOptions
SendRecieve options to use
Type Parameters

I
The interface to use for the proxy

Return Value

Type: I
A proxy class for the interface I allowing remote procedure calls
See Also