ServiceJsonRpcDescriptor.JsonRpcConnection.ConstructRpcClient<T> 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.
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.