Click here to Skip to main content
15,905,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: uncaught exception handlers Pin
Spacix One29-Apr-08 4:21
Spacix One29-Apr-08 4:21 
GeneralRe: uncaught exception handlers Pin
George_George29-Apr-08 4:26
George_George29-Apr-08 4:26 
GeneralRe: uncaught exception handlers Pin
Spacix One29-Apr-08 5:31
Spacix One29-Apr-08 5:31 
GeneralRe: uncaught exception handlers Pin
George_George29-Apr-08 19:46
George_George29-Apr-08 19:46 
GeneralRe: uncaught exception handlers Pin
PIEBALDconsult27-Apr-08 4:43
mvePIEBALDconsult27-Apr-08 4:43 
GeneralRe: uncaught exception handlers Pin
George_George29-Apr-08 2:29
George_George29-Apr-08 2:29 
Generalasynchronous function call Pin
George_George26-Apr-08 4:34
George_George26-Apr-08 4:34 
GeneralRe: asynchronous function call Pin
Spacix One26-Apr-08 6:01
Spacix One26-Apr-08 6:01 
GeneralRe: asynchronous function call Pin
George_George26-Apr-08 21:31
George_George26-Apr-08 21:31 
GeneralRe: asynchronous function call Pin
N a v a n e e t h26-Apr-08 7:12
N a v a n e e t h26-Apr-08 7:12 
GeneralRe: asynchronous function call Pin
Spacix One26-Apr-08 7:50
Spacix One26-Apr-08 7:50 
GeneralRe: asynchronous function call Pin
George_George26-Apr-08 21:37
George_George26-Apr-08 21:37 
GeneralRe: asynchronous function call Pin
George_George26-Apr-08 21:35
George_George26-Apr-08 21:35 
GeneralRe: asynchronous function call Pin
N a v a n e e t h27-Apr-08 19:47
N a v a n e e t h27-Apr-08 19:47 
GeneralRe: asynchronous function call Pin
George_George27-Apr-08 19:54
George_George27-Apr-08 19:54 
GeneralRe: asynchronous function call Pin
N a v a n e e t h27-Apr-08 22:17
N a v a n e e t h27-Apr-08 22:17 
GeneralRe: asynchronous function call Pin
George_George27-Apr-08 23:36
George_George27-Apr-08 23:36 
GeneralRe: asynchronous function call Pin
N a v a n e e t h27-Apr-08 23:57
N a v a n e e t h27-Apr-08 23:57 
GeneralRe: asynchronous function call Pin
George_George28-Apr-08 1:24
George_George28-Apr-08 1:24 
GeneralRe: asynchronous function call Pin
S. Senthil Kumar26-Apr-08 16:02
S. Senthil Kumar26-Apr-08 16:02 
GeneralRe: asynchronous function call Pin
George_George26-Apr-08 21:42
George_George26-Apr-08 21:42 
GeneralRe: asynchronous function call Pin
S. Senthil Kumar27-Apr-08 3:23
S. Senthil Kumar27-Apr-08 3:23 
George_George wrote:
From the link you referred, I can not find words like


Really? Did you try searching for the text? It's there in a small rectangular area titled "Important note".


George_George wrote:
If yes, I think the asynchronous method should be executed in another CLR thread, other than the current thread. Right?


Um, but isn't that the very definition of an asynchronous method?


George_George wrote:
And if any exception occurs in the CLR thread, could be caught in the current thread? I doubt it. Since I think the C# exception handling approach does not allow us to have cross-threads exception handling -- means exception occurs in one thread, and we can catch it in another thread? Any comments?


Any exceptions that occurred in the asynchronous method will be caught by the .NET framework and will be rethrown in the thread that calls EndInvoke. So yes, the framework does have the ability to handle exceptions across threads.

Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

GeneralRe: asynchronous function call Pin
George_George27-Apr-08 3:35
George_George27-Apr-08 3:35 
GeneralRe: asynchronous function call Pin
S. Senthil Kumar27-Apr-08 5:16
S. Senthil Kumar27-Apr-08 5:16 
GeneralRe: asynchronous function call Pin
George_George27-Apr-08 17:41
George_George27-Apr-08 17:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.