Share via


TypeInfrastructureManager.ProxyResolve Event

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Occurs when an add-in or host application receives a RemoteArgument that must be converted to a proxy object.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Public Event ProxyResolve As EventHandler(Of ProxyResolveEventArgs)
'Usage
Dim instance As TypeInfrastructureManager 
Dim handler As EventHandler(Of ProxyResolveEventArgs)

AddHandler instance.ProxyResolve, handler
public event EventHandler<ProxyResolveEventArgs> ProxyResolve
public:
 event EventHandler<ProxyResolveEventArgs^>^ ProxyResolve {
    void add (EventHandler<ProxyResolveEventArgs^>^ value);
    void remove (EventHandler<ProxyResolveEventArgs^>^ value);
}
JScript does not support events.

Remarks

You can hook up to the ProxyResolve event to return a custom proxy object for an adapter object that is represented by a contract.

See Also

Reference

TypeInfrastructureManager Class

TypeInfrastructureManager Members

Microsoft.VisualStudio.Tools.Applications Namespace