ActivityLog::LogInformation Method (String^, String^)

 

Logs an information message in the activity log with the given source.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static void LogInformation(
	String^ source,
	String^ message
)

Parameters

source
Type: System::String^

A name associated with the source contributing the message.

message
Type: System::String^

The message to be written to the activity log.

This method may throw an exception if the SVsActivityLog service is not available.

Return to top
Show: