다음을 통해 공유


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.

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.

ThrowIfDisposed()

Throws if object is disposed.

(Inherited from ExtensibilityPoint)

Events

Disposing

Raised when object is being disposed.

(Inherited from ExtensibilityPoint)

Applies to