Click here to Skip to main content
15,896,500 members
Home / Discussions / C#
   

C#

 
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 
Questionhow to attach signature to word document Pin
Sunix.Fu26-Apr-08 4:09
Sunix.Fu26-Apr-08 4:09 
Generalapplication given en error when parameters in stored procedure is changes [modified] Pin
sanjubaba26-Apr-08 2:18
sanjubaba26-Apr-08 2:18 
Questionstructure problem in c# Pin
rjkg26-Apr-08 1:08
rjkg26-Apr-08 1:08 
GeneralRe: structure problem in c# Pin
Luc Pattyn26-Apr-08 1:44
sitebuilderLuc Pattyn26-Apr-08 1:44 
QuestionRe: structure problem in c# Pin
rjkg26-Apr-08 1:52
rjkg26-Apr-08 1:52 
GeneralRe: structure problem in c# Pin
Anthony Mushrow26-Apr-08 2:18
professionalAnthony Mushrow26-Apr-08 2:18 
GeneralRe: structure problem in c# Pin
rjkg26-Apr-08 2:25
rjkg26-Apr-08 2:25 
GeneralRe: structure problem in c# Pin
Anthony Mushrow26-Apr-08 2:35
professionalAnthony Mushrow26-Apr-08 2:35 
GeneralRe: structure problem in c# Pin
Luc Pattyn26-Apr-08 2:21
sitebuilderLuc Pattyn26-Apr-08 2:21 
GeneralRe: structure problem in c# Pin
Guffa26-Apr-08 3:18
Guffa26-Apr-08 3:18 
GeneralRe: structure problem in c# Pin
Thomas Stockwell26-Apr-08 18:12
professionalThomas Stockwell26-Apr-08 18:12 
Generaldefault exception handling Pin
George_George25-Apr-08 22:28
George_George25-Apr-08 22:28 
GeneralRe: default exception handling Pin
Christian Graus25-Apr-08 22:57
protectorChristian Graus25-Apr-08 22:57 
GeneralRe: default exception handling Pin
George_George25-Apr-08 23:07
George_George25-Apr-08 23:07 

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.