IJsonRpcLocalProxy.ConstructLocalProxy<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.
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.