>As earlier:
>string s = Context.Handler.GetType().Name
>works for me. Or:
>system.object o = Context.Handler.GetType()
>
>But I see you'll probably move away from this approach anyway,
This syntax is not supported in VB.NET. As soon as I have a line such as:
Throw New System.Exception(Context.Handler.gettype())
an error is returned in the designer saying:
'gettype' is not a member of 'System.Web.IHttpHandler'