asp.net elmah: how to display own error message instead of 'Specified method is not supported' -
i trying display "hello testing elmah" in error column of elmah errorlog. got in asp.net app:
var customex = new exception("hello testing elmah", new notsupportedexception()); elmah.errorsignal.fromcurrentcontext().raise(customex);
at moment comes specified method not supported. how can change this?
Comments
Post a Comment