ServiceJsonRpcDescriptor.JsonRpcConnection.AddLocalRpcTarget(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a target object to receive RPC calls.
public:
override void AddLocalRpcTarget(System::Object ^ rpcTarget);
public override void AddLocalRpcTarget (object rpcTarget);
override this.AddLocalRpcTarget : obj -> unit
Public Overrides Sub AddLocalRpcTarget (rpcTarget As Object)
Parameters
- rpcTarget
- Object
A target for any RPC calls received over the connection. If this object implements IDisposable, Dispose() will be invoked when the client closes their connection.