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

scala - 'wrong top statement declaration' when using slick in IntelliJ -

C# - WPF - ColumnGroups Footer? (telerik) -

Laravel Bind Multiple Class to One Contract in The Service Provider -