ValidationContextExtensions::LogWarning Method (ValidationContext^, String^, String^, array<IElement^>^)
Visual Studio 2015
Display a warning message in the Visual Studio error list.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static void LogWarning( ValidationContext^ context, String^ description, String^ code, ... array<IElement^>^ elements )
Parameters
- description
-
Type:
System::String^
Message displayed in the error window.
- code
-
Type:
System::String^
A unique identifier for this message.
- elements
-
Type:
array<Microsoft.VisualStudio.Uml.Classes::IElement^>^
Elements that should be selected when the user double-clicks the error message.
Show: