I\'ve built a VSTO plugin for outlook using visual basic, and I want to write exceptions to the eventlog for future debugging. I used My.Application.Log.WriteException(ex)
My.Application.Log.WriteException(ex)