How can I prevent the exception messages and stack trace in my C# WinForms application from being translated to the locale language?
It is important for me to keep the current culture to what the user has selected because I do want them to keep seeing the translated version of the app, but I just don't want .net error messages to be translated into the locale language.
I need them in English because I have an error reporting mechanism that sends me the error messages and I can't read Japanese, French, Swedish etc...
Exception Message: Le délai d'attente de l'opération a expiré.
Exception StackTrace: à System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
à System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
à System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object parameters)
à MyApp.WS.Method1(SParam param)
à MyApp.WS.Method2(SDetails data)
à MyApp.Form.btnOK_Click(Object sender, EventArgs e)