Share via


IDisplayMessageLogger.LogMessageAsync(MessageCategory, String) Method

Definition

Logs a message to a UI like the InfoBar

public:
 System::Threading::Tasks::Task ^ LogMessageAsync(Microsoft::VisualStudio::ConnectedServices::MessageCategory category, System::String ^ message);
public System.Threading.Tasks.Task LogMessageAsync (Microsoft.VisualStudio.ConnectedServices.MessageCategory category, string message);
abstract member LogMessageAsync : Microsoft.VisualStudio.ConnectedServices.MessageCategory * string -> System.Threading.Tasks.Task
Public Function LogMessageAsync (category As MessageCategory, message As String) As Task

Parameters

category
MessageCategory

The category of the message

message
String

The message

Returns

Applies to