ILocalControlWrapper 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
UI 使用者控件的包裝函式,允許在 VisualStudio.Extensibility RPC 呼叫之間交換相同進程的控制項。
[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
- 衍生
- 屬性
-
StreamJsonRpc.RpcMarshalableAttribute
- 實作
備註
這個介面只能由 VisualStudio.Extensibility in-proc 延伸模組使用,因為它仰賴擴充功能的能力,與 Visual Studio 共用 .NET 物件。GCHandle
方法
GetGCHandleAsync(CancellationToken) |
傳回對象的內部整數表示 GCHandle 法,該對象參考使用者控件 .NET 物件。 |