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

Popular posts from this blog

ruby - re-try logic in a simple loop -

ruby - Accessing variable name -

c# - Error in creating twitterizer app in asp.net -