Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ActivityLog.LogWarning Method

Logs a warning message in the activity log with the given source.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
public static void LogWarning(
	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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.