Freigeben über


ServiceJsonRpcDescriptor.JsonRpcConnection.AddLocalRpcTarget(Object) Method

Definition

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.

Applies to