Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
Question"One or more exceptions" occurred at Task.Start() Pin
Sharath C V19-Jun-14 3:23
professionalSharath C V19-Jun-14 3:23 
AnswerRe: "One or more exceptions" occurred at Task.Start() Pin
OriginalGriff19-Jun-14 3:55
mveOriginalGriff19-Jun-14 3:55 
SuggestionRe: "One or more exceptions" occurred at Task.Start() Pin
Richard Deeming19-Jun-14 4:07
mveRichard Deeming19-Jun-14 4:07 
GeneralRe: "One or more exceptions" occurred at Task.Start() Pin
OriginalGriff19-Jun-14 4:15
mveOriginalGriff19-Jun-14 4:15 
AnswerRe: "One or more exceptions" occurred at Task.Start() Pin
Sharath C V19-Jun-14 21:18
professionalSharath C V19-Jun-14 21:18 
GeneralRe: "One or more exceptions" occurred at Task.Start() Pin
Sharath C V19-Jun-14 19:10
professionalSharath C V19-Jun-14 19:10 
AnswerRe: "One or more exceptions" occurred at Task.Start() Pin
Richard Deeming19-Jun-14 4:06
mveRichard Deeming19-Jun-14 4:06 
GeneralRe: "One or more exceptions" occurred at Task.Start() Pin
Sharath C V19-Jun-14 20:02
professionalSharath C V19-Jun-14 20:02 
Thanks very much for your thoughts.

Yes, Invoke also blocks as you mentioned. BeginInvoke solves the issue, but sequence goes wrong.

Regarding async / await, I am aware of it. In the project from where I took the code and posted here, it has async / await sample also. I am working on a sample for async / await. In that same sample I wanted to add Task.Start() as an example to demonstrate the use of Task.Wait() via another button on the UI. That's the reason I am doing wait immediately after Task.Start() Smile | :)
QuestionSendkeys to excel without open workbook - C# Pin
bonjot19-Jun-14 1:26
bonjot19-Jun-14 1:26 
AnswerRe: Sendkeys to excel without open workbook - C# Pin
Pete O'Hanlon19-Jun-14 2:11
mvePete O'Hanlon19-Jun-14 2:11 
GeneralRe: Sendkeys to excel without open workbook - C# Pin
bonjot19-Jun-14 2:27
bonjot19-Jun-14 2:27 
AnswerRe: Sendkeys to excel without open workbook - C# Pin
Dave Kreskowiak19-Jun-14 2:11
mveDave Kreskowiak19-Jun-14 2:11 
GeneralRe: Sendkeys to excel without open workbook - C# Pin
bonjot19-Jun-14 2:29
bonjot19-Jun-14 2:29 
QuestionC# FOR Loop Speed Issue Pin
exfosys18-Jun-14 21:02
exfosys18-Jun-14 21:02 
AnswerRe: C# FOR Loop Speed Issue Pin
Pete O'Hanlon18-Jun-14 21:18
mvePete O'Hanlon18-Jun-14 21:18 
AnswerRe: C# FOR Loop Speed Issue Pin
OriginalGriff18-Jun-14 21:51
mveOriginalGriff18-Jun-14 21:51 
GeneralRe: C# FOR Loop Speed Issue Pin
exfosys18-Jun-14 22:41
exfosys18-Jun-14 22:41 
GeneralRe: C# FOR Loop Speed Issue Pin
OriginalGriff18-Jun-14 23:12
mveOriginalGriff18-Jun-14 23:12 
AnswerRe: C# FOR Loop Speed Issue Pin
Mycroft Holmes18-Jun-14 22:31
professionalMycroft Holmes18-Jun-14 22:31 
GeneralRe: C# FOR Loop Speed Issue Pin
exfosys18-Jun-14 22:42
exfosys18-Jun-14 22:42 
GeneralRe: C# FOR Loop Speed Issue Pin
Mycroft Holmes18-Jun-14 22:54
professionalMycroft Holmes18-Jun-14 22:54 
GeneralRe: C# FOR Loop Speed Issue Pin
exfosys18-Jun-14 23:50
exfosys18-Jun-14 23:50 
GeneralRe: C# FOR Loop Speed Issue Pin
PIEBALDconsult19-Jun-14 4:11
mvePIEBALDconsult19-Jun-14 4:11 
SuggestionRe: C# FOR Loop Speed Issue Pin
Nathan Minier20-Jun-14 3:02
professionalNathan Minier20-Jun-14 3:02 
AnswerRe: C# FOR Loop Speed Issue Pin
V.19-Jun-14 4:13
professionalV.19-Jun-14 4:13 

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.