IDisplayMessageLogger.LogMessageAsync(MessageCategory, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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