Freigeben über


IJsonRpcLocalProxy.ConstructLocalProxy<T> Method

Definition

Creates a local proxy for a new type that targets the same underlying object as the current proxy.

public T? ConstructLocalProxy<T> () where T : class;
abstract member ConstructLocalProxy : unit -> 'T (requires 'T : null)
Public Function ConstructLocalProxy(Of T As Class) () As T

Type Parameters

T

Type of the interface to create a proxy for.

Returns

T

An instance of T or null if the underlying object does not implement T.

Applies to