Share via


ILocalControlWrapper Interface

Definition

Wrapper for a UI user control that allows exchanging the control within the same process across VisualStudio.Extensibility RPC calls.

[StreamJsonRpc.RpcMarshalable]
public interface ILocalControlWrapper : IDisposable, Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl
[<StreamJsonRpc.RpcMarshalable>]
type ILocalControlWrapper = interface
    interface IRemoteUserControl
    interface IDisposable
Public Interface ILocalControlWrapper
Implements IDisposable, IRemoteUserControl
Derived
Attributes
StreamJsonRpc.RpcMarshalableAttribute
Implements

Remarks

This interface can only be used by VisualStudio.Extensibility in-proc extensions since it relies on the ability of the extension to share a .NET object with Visual Studio trough a GCHandle.

Methods

GetGCHandleAsync(CancellationToken)

Returns the internal integer representation of a GCHandle object which references a user control .NET object.

Applies to