次の方法で共有


ServiceJsonRpcDescriptor.JsonRpcConnection.ConstructRpcClient<T> Method

Definition

Produces a proxy that provides a strongly-typed API for invoking methods offered by the remote party.

public:
generic <typename T>
 where T : class override T ConstructRpcClient();
public override T ConstructRpcClient<T> () where T : class;
override this.ConstructRpcClient : unit -> 'T (requires 'T : null)
Public Overrides Function ConstructRpcClient(Of T As Class) () As T

Type Parameters

T

The interface that the returned proxy should implement.

Returns

T

The generated proxy.

Applies to