No announcements
Found 2911390 threads
-
0 Votes
Catch Unhandled exceptions in unmanaged code
SEHException. This exception translation is done at the p/Invoke border. Actually the exception was thrown from a thread ...Answered | 9 Replies | 8009 Views | Created by void Func - Wednesday, November 4, 2009 3:23 AM | Last reply by Gubo - Wednesday, December 16, 2009 3:57 PM -
2 Votes
Does IErrorHandler catch all exceptions ?
I found that if we call the EndInvoke() from the WCF request processing thread, and then only the excetpion get handled by the IErrorHandlder. WCF could ...Answered | 13 Replies | 4509 Views | Created by Guatam Neo - Monday, December 8, 2008 12:39 PM | Last reply by Marco Zhou - Thursday, December 11, 2008 7:17 AM -
0 Votes
Catch all exceptions except one
I detailed in a previous post that the generally accepted practice is to catch only the exceptions documented as being possibly thrown in the code that ...Answered | 16 Replies | 12095 Views | Created by Sam Jost - Thursday, July 19, 2007 10:21 AM | Last reply by Sam Jost - Saturday, July 21, 2007 8:17 AM -
1 Votes
SqlBulkCopy catch exceptions
All, I am using VB.NET 2008 i am trying to do a BULK INSERT into SQL Server. I have found the SqlBulkCopy class in .Net which seems handy. ...Answered | 3 Replies | 3390 Views | Created by Darryl Armstrong - Wednesday, September 24, 2008 12:53 PM | Last reply by siva.k - Friday, September 26, 2008 5:20 AM -
0 Votes
Catching CPU-Exceptions in a DLL with try/catch
The problem is that _set_se_translator is thread local. If you build a DLL, you don't 'own' the threads in which your DLL is called. You ...Answered | 9 Replies | 5131 Views | Created by BryanHayes - Thursday, September 25, 2008 7:45 AM | Last reply by Bruno van Dooren - Wednesday, October 1, 2008 8:08 AM -
0 Votes
How to catch program exceptions
A good practice would be to have try-catch around code you expect to throw exceptions. Most such situations should be dealt with at development time. For exceptions ...Answered | 1 Replies | 2181 Views | Created by wendy_qzw - Friday, March 16, 2012 10:24 AM | Last reply by Ashish Shetty - MSFT - Friday, March 16, 2012 4:47 PM -
0 Votes
Catch exceptions via orchestration
What's probably happening is that the Port error is returned to the Orchestration as a SOAP Fault, not a standard .Net Exception. What you need to do is add the ...Answered | 4 Replies | 934 Views | Created by Steven Audis - Tuesday, July 11, 2017 9:45 AM | Last reply by Steven Audis - Tuesday, July 18, 2017 6:52 AM -
0 Votes
ValidatesOnExceptions does not catch exceptions from ValueConverters...
TwoWay bindings. The exceptions can occur in two ways: 1. Thrown from the source object's setter function. 2. Thrown by the typeAnswered | 10 Replies | 39754 Views | Created by AlexanderJ - Wednesday, August 19, 2009 10:42 AM | Last reply by AlexanderJ - Friday, August 21, 2009 6:10 AM -
0 Votes
Catch Exceptions global in VS-AddIns
I think that since the IDE sets the global exception handlers before you in the appdomain that it uses to load add-ins, you don't have the chance to catch them globally. You ...Answered | 1 Replies | 3139 Views | Created by yes its me - Tuesday, June 12, 2007 10:52 AM | Last reply by Carlos J. Quintero - Tuesday, June 12, 2007 11:48 AM -
0 Votes
accessing inner exceptions in embedded try catch
My advice is not to catch exceptions unnecessarily, but allow them to propagate upwards to the highest point in the call stack where you still have programmatic ...Answered | 9 Replies | 5606 Views | Created by rtaiss - Wednesday, February 28, 2007 4:24 AM | Last reply by ShellShock - Friday, March 2, 2007 9:07 AM -
1 Votes
How to catch unhandled exceptions in a process
Part-I Within a single process, you can know if the exceptions are not handled in a particular AppDomain usingAnswered | 2 Replies | 1218 Views | Created by Venk K - Thursday, October 4, 2012 9:45 AM | Last reply by Venk K - Thursday, October 4, 2012 11:25 AM -
1 Votes
Question about Catch and exceptions
Jeff, Is there a way to resume processing with the next element in the original observable sequence in the Catch operator instead of ...Answered | 4 Replies | 8366 Views | Created by Andy N3 - Wednesday, December 23, 2009 1:06 AM | Last reply by James Miles - Thursday, May 19, 2011 9:49 AM -
0 Votes
EntityDataSource How to Catch Exceptions in Context.SavingChanges
I have a similar problem with updates. When I set EnableUpdates on the EntityDataSource to True then I can catch exceptions in the EntityDataSource.Updated event ...Answered | 6 Replies | 5710 Views | Created by Carl Tribble - Wednesday, January 19, 2011 1:56 AM | Last reply by qaato - Wednesday, August 10, 2011 4:19 PM -
3 Votes
Cross thread error while closing a form opened in seperate thread
Hi Guyz, I have a desktop application which starts a new thread and that threads displays a ...Answered | 1 Replies | 2618 Views | Created by Rohan W - Wednesday, March 4, 2009 12:50 PM | Last reply by A.m.a.L Hashim - Wednesday, March 4, 2009 1:18 PM -
0 Votes
Exceptions thrown in another thread.
By the way, you can check log any exceptions thrown in the appdomain's event handler AppDomain.UnhandledException.Answered | 1 Replies | 3570 Views | Created by Paulustrious - Monday, January 14, 2008 2:25 PM | Last reply by Feng Chen - Tuesday, January 22, 2008 3:50 AM -
0 Votes
Handling Thread Exceptions
Usually, when a C# application generates an unhadled exceptions, your program displays either a Send/Don't Send window (if the exception has occured ...Answered | 2 Replies | 3195 Views | Created by MGLC - Saturday, September 22, 2007 2:15 PM | Last reply by MGLC - Saturday, September 22, 2007 3:16 PM -
0 Votes
Where to catch unhandled exceptions
exceptions that occur in the .Net dll without putting a try catch in each and every property/method in the class project? JoelAnswered | 2 Replies | 6174 Views | Created by Joel Hammond - Tuesday, June 2, 2009 10:19 PM | Last reply by AH214 - Thursday, March 11, 2010 2:43 PM -
1 Votes
file stream opened in a thread
queue. It's possible for a poorly written object to hang in it's finalizer method and block the finalizer thread from emptying any more objects ...Answered | 15 Replies | 2709 Views | Created by eidrian88 - Tuesday, January 17, 2012 1:58 PM | Last reply by Jared Van Leeuwen - Thursday, January 19, 2012 3:27 PM -
0 Votes
try-throw-catch: exceptions hadling
parameter in a function call. Just like you can accept a parameter by value ( "void f(int)" ) or by reference ( "void f(int&)" or "void f(const ...Answered | 7 Replies | 3067 Views | Created by chong kyong kim - Tuesday, July 16, 2013 12:39 PM | Last reply by Igor Tandetnik - Wednesday, July 24, 2013 6:23 PM -
0 Votes
Cannot able to catch exceptions sometimes.
Hi Sandeep, To handle errors using a scope shape is good practice and you want to catch these kind of exceptions: System.Web.Services.Protocols.SoapException. ...Answered | 1 Replies | 6529 Views | Created by Sandeep.Handa - Thursday, March 18, 2010 12:50 PM | Last reply by Steef-Jan Wiggers - Friday, March 19, 2010 1:25 PM
No announcements