Is there an ASP.NET equivalent for the VB6 MsgBox function?

Is there an ASP.NET (code behind = VB.NET) equivalent for the Visual Basic 6.0 MsgBox function?
Have a look at this previous Ask the Expert answer.

This was first published in October 2003