Server RegisterInstanceForPublicRemoteCall T, I  Method NetworkComms.Net Help
Registers a specfic object instance, with the supplied name, for RPC

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

public static void RegisterInstanceForPublicRemoteCall<T, I>(
	T instance,
	string instanceName
)
where T : I

Parameters

instance
Type: T
Instance to register for RPC
instanceName
Type: OnlineSystem String
Name of the instance to be used by clients for RPC
Type Parameters

T
The type of the object to register. Must implement I
I
The interface to be provided for RPC
See Also