ShellExtensibility Class

Definition

Provides functionality to interact with Visual Studio shell services such as progress reporting, notifications, etc.

public class ShellExtensibility : Microsoft.VisualStudio.Extensibility.ExtensibilityPoint
type ShellExtensibility = class
    inherit ExtensibilityPoint
Public Class ShellExtensibility
Inherits ExtensibilityPoint
Inheritance
ShellExtensibility

Constructors

ShellExtensibility(ExtensibilityPoint)

Initializes a new instance of the ShellExtensibility class.

Properties

IsDisposed

Gets a value indicating whether the object is disposed.

(Inherited from ExtensibilityPoint)
LocalServiceProvider

Gets the local service provider.

(Inherited from ExtensibilityPoint)
ResourceDictionary

Gets the resource dictionary instance for querying localized strings.

(Inherited from ExtensibilityPoint)
ServiceBroker

Gets the underlying service broker instance.

(Inherited from ExtensibilityPoint)
ServiceBrokerClient

Gets the service broker client instance that can be used to query for brokered services.

(Inherited from ExtensibilityPoint)
TraceSource

Gets the trace source instance to utilize for logging.

(Inherited from ExtensibilityPoint)

Methods

Dispose() (Inherited from ExtensibilityPoint)
Dispose(Boolean)

Disposes the instane and underlying proxies.

GetToolWindow<T>()

Gets the tool window of the given type.

HideToolWindowAsync<T>(CancellationToken)

Hides the tool window of the given type.

ServiceAvailabilityChanged(Object, BrokeredServicesChangedEventArgs)

Handles the service instance when availability of brokered services has changed.

ShowDialogAsync(IRemoteUserControl, CancellationToken)

Shows a modal dialog.

ShowDialogAsync(IRemoteUserControl, DialogOption, CancellationToken)

Shows a modal dialog.

ShowDialogAsync(IRemoteUserControl, String, CancellationToken)

Shows a modal dialog.

ShowDialogAsync(IRemoteUserControl, String, DialogOption, CancellationToken)

Shows a modal dialog.

ShowPromptAsync<TResult>(String, PromptOptions<TResult>, CancellationToken)

Prompts the user with specified message and options, waiting for the user to make a choice or dismiss the prompt without a selection.

ShowToolWindowAsync<T>(Boolean, CancellationToken)

Shows the tool window of the given type.

StartProgressReportingAsync(String, CancellationToken)

Simple overload for starting progress reporting for background work. Work progress is not cancellable by user by default.

StartProgressReportingAsync(String, ProgressReporterOptions, CancellationToken)

Start progress reporting for background work.

ThrowIfDisposed()

Throws if object is disposed.

(Inherited from ExtensibilityPoint)

Events

Disposing

Raised when object is being disposed.

(Inherited from ExtensibilityPoint)

Applies to