Share via


IInteractionService Interface

Definition

A service to interact with the current development environment.

public interface IInteractionService
type IInteractionService = interface
Public Interface IInteractionService

Properties

IsAvailable

Gets a value indicating whether the interaction service is available. If false, this service is not available to interact with the user and service methods will throw an exception.

Methods

PromptConfirmationAsync(String, String, MessageBoxInteractionOptions, CancellationToken)

Prompts the user for confirmation with a dialog.

PromptInputAsync(String, String, InteractionInput, InputsDialogInteractionOptions, CancellationToken)

Prompts the user for a single input using a specified InteractionInput.

PromptInputAsync(String, String, String, String, InputsDialogInteractionOptions, CancellationToken)

Prompts the user for a single text input.

PromptInputsAsync(String, String, IReadOnlyList<InteractionInput>, InputsDialogInteractionOptions, CancellationToken)

Prompts the user for multiple inputs.

PromptMessageBoxAsync(String, String, MessageBoxInteractionOptions, CancellationToken)

Prompts the user with a message box dialog.

PromptNotificationAsync(String, String, NotificationInteractionOptions, CancellationToken)

Prompts the user with a notification.

Applies to