Search code examples
vb.netpragmapreprocessor-directive

How to generate user-defined warning messages in VB.NET


I would like to generate a user-defined warning message in VB.NET as is done in C# (see below):

How to use the #pragma message to generate user-defined warning messages in Visual C++

Is this possible?


Solution

  • No,

    Unfortunately this is not possible using VB.NET