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

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

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