RemoteUserControl Class

Definition

Abstract class from which Remote UI controls should be derived.

public abstract class RemoteUserControl : IDisposable, Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl2, Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteWpfUserControl
type RemoteUserControl = class
    interface IRemoteWpfUserControl
    interface IRemoteProxiedUserControl
    interface IRemoteUserControl
    interface IDisposable
    interface IRemoteProxiedUserControl2
Public MustInherit Class RemoteUserControl
Implements IDisposable, IRemoteProxiedUserControl2, IRemoteWpfUserControl
Inheritance
RemoteUserControl
Implements
Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl2 IRemoteUserControl Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteWpfUserControl IDisposable

Remarks

This class automatically retrieves the xaml for the control from an embedded resource of the same name. E.g., a class named "Foo" which extends RemoteUserControl and is defined in its project default namespace, would automatically retrieve its xaml definition fom an embedded resource named "Foo.xaml" defined in the same project.

Constructors

RemoteUserControl(Object)

Initializes a new instance of the RemoteUserControl class.

RemoteUserControl(Object, SynchronizationContext)

Initializes a new instance of the RemoteUserControl class.

RemoteUserControl(Object, VisualStudioExtensibility, SynchronizationContext, TraceSource)

Initializes a new instance of the RemoteUserControl class.

Properties

DataContext

Gets the data context of the remote control.

Methods

ControlLoadedAsync(CancellationToken) Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteWpfUserControl.ControlLoadedAsync(System.Threading.CancellationToken)
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetXamlAsync(CancellationToken)

This method retrieves the xaml describing the data template of the control.

Explicit Interface Implementations

IRemoteProxiedUserControl.GetObjectAsync(ObjectId, CancellationToken) Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.GetObjectAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId,System.Threading.CancellationToken)
IRemoteProxiedUserControl.InvokeAsync(ObjectId, MessagePackFragment, CancellationToken) Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.InvokeAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId,Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment,System.Threading.CancellationToken)
IRemoteProxiedUserControl.SetCollectionEntryAsync(ObjectId, Int32, MessagePackFragment, Nullable<ObjectVersion>, CancellationToken) Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.SetCollectionEntryAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId,System.Int32,Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment,System.Nullable{Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersion},System.Threading.CancellationToken)
IRemoteProxiedUserControl.SetObjectPropertyAsync(ObjectId, String, MessagePackFragment, CancellationToken) Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.SetObjectPropertyAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId,System.String,Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment,System.Threading.CancellationToken)
IRemoteProxiedUserControl2.InvokeAsync(ObjectId, MessagePackFragment, IReadOnlyDictionary<String,String>, CancellationToken) Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl2.InvokeAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId,Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment,System.Collections.Generic.IReadOnlyDictionary{System.String,System.String},System.Threading.CancellationToken)
IRemoteWpfUserControl.InitializeAsync(IRemoteProxiedUserControlClient, CancellationToken) Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteWpfUserControl.InitializeAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControlClient,System.Threading.CancellationToken)

Applies to