Compartilhar via


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.

Methods

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.

ShowOpenFileDialogAsync(FileDialogOptions, CancellationToken)

Shows the file dialog to open a file.

ShowOpenFolderDialogAsync(FolderDialogOptions, CancellationToken)

Shows the folder dialog to select a directory.

ShowOpenMultipleFilesDialogAsync(FileDialogOptions, CancellationToken)

Shows the file dialog to open multiple files.

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.

ShowSaveAsFileDialogAsync(FileDialogOptions, CancellationToken)

Shows the file dialog to select a filename for saving.

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.

Applies to