No,
Unfortunately this is not possible using VB.NET
Pregunta
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?
Solución
No,
Unfortunately this is not possible using VB.NET
Otros consejos
It is not done in C#, you refer to something in C++
However, you can use the attribute <Obsolete("some comment")>
for classes, functions, and subs; and this does create a warning.
Here the code-version, so use Obsolete. Since you can add any text, you should be able to refine the purpose of the warning.