IProxyFactory.CreateProxy<TProxy>(Object) Método

Definição

Cria um objeto proxy atribuível ao tipo TProxyCreates a proxy object that is assignable to type TProxy

public:
generic <typename TProxy>
 TProxy CreateProxy(System::Object ^ obj);
public TProxy CreateProxy<TProxy> (object obj);
abstract member CreateProxy : obj -> 'Proxy
Public Function CreateProxy(Of TProxy) (obj As Object) As TProxy

Parâmetros de tipo

TProxy

O tipo do proxy a ser criado.The type of the proxy to create.

Parâmetros

obj
Object

O objeto a ser encapsulado em um proxy.The object to wrap in a proxy.

Retornos

TProxy

Um objeto proxy ou obj se um proxy não for necessário.A proxy object, or obj if a proxy is not needed.

Aplica-se a