Click or drag to resize
EditorFeatureShowMessageAsync Method
Shows a message in the VS Code UI and awaits an action by the user.

Namespace: VSCode.Editor
Assembly: VSCode (in VSCode.dll) Version: 1.0.0
Syntax
C#
public Task<MessageActionItem> ShowMessageAsync(
	MessageType type,
	string message,
	params MessageActionItem[] actionItems
)

Parameters

type
Type: VSCode.EditorMessageType
The type of message to show.
message
Type: SystemString
The message text.
actionItems
Type: VSCode.EditorMessageActionItem
A list of actions to present to the user.

Return Value

Type: TaskMessageActionItem

[Missing <returns> documentation for "M:VSCode.Editor.EditorFeature.ShowMessageAsync(VSCode.Editor.MessageType,System.String,VSCode.Editor.MessageActionItem[])"]

See Also