Click here to Skip to main content
15,880,967 members
Home / Discussions / C#
   

C#

 
AnswerRe: Visual Studio 2017 Defective Editor in Design Mode Pin
Eddy Vluggen28-Mar-17 22:54
professionalEddy Vluggen28-Mar-17 22:54 
AnswerRe: Visual C# Frameworks Pin
Kevin Marois29-Mar-17 4:18
professionalKevin Marois29-Mar-17 4:18 
QuestionScheduled Services Architecture Pin
Kevin Marois28-Mar-17 7:53
professionalKevin Marois28-Mar-17 7:53 
AnswerRe: Scheduled Services Architecture Pin
Bernhard Hiller28-Mar-17 21:13
Bernhard Hiller28-Mar-17 21:13 
GeneralRe: Scheduled Services Architecture Pin
Kevin Marois29-Mar-17 4:15
professionalKevin Marois29-Mar-17 4:15 
GeneralRe: Scheduled Services Architecture Pin
Kevin Marois29-Mar-17 4:19
professionalKevin Marois29-Mar-17 4:19 
QuestionHandle Exception In Thread Pin
Kevin Marois27-Mar-17 9:35
professionalKevin Marois27-Mar-17 9:35 
AnswerRe: Handle Exception In Thread Pin
Rob Philpott28-Mar-17 0:01
Rob Philpott28-Mar-17 0:01 
Hi Kevin,

So does your service have a Stop() method as well? Normally a start method would be kind of asynchronous in nature, kicking off its own threads, opening network listeners and that sort of thing, so the test you have there looks like it would catch exceptions in just that part.

Or is it that Start() method is more of a Run()? By which I means it runs until completion, possibly days later?

A good catch all would be this (lifted from Visual Studio right in front of me):
C#
// catch any unhandled exceptions
AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException;
Regards,
Rob Philpott.

GeneralRe: Handle Exception In Thread Pin
Kevin Marois28-Mar-17 5:55
professionalKevin Marois28-Mar-17 5:55 
AnswerRe: Handle Exception In Thread Pin
Nathan Minier28-Mar-17 1:35
professionalNathan Minier28-Mar-17 1:35 
AnswerRe: Handle Exception In Thread Pin
Richard Deeming28-Mar-17 1:43
mveRichard Deeming28-Mar-17 1:43 
QuestionC# Read random line Pin
Pavlex426-Mar-17 10:00
Pavlex426-Mar-17 10:00 
AnswerRe: C# Read random line Pin
Dave Kreskowiak26-Mar-17 12:52
mveDave Kreskowiak26-Mar-17 12:52 
AnswerRe: C# Read random line Pin
Garth J Lancaster26-Mar-17 13:50
professionalGarth J Lancaster26-Mar-17 13:50 
AnswerRe: C# Read random line Pin
OriginalGriff26-Mar-17 21:37
mveOriginalGriff26-Mar-17 21:37 
GeneralRe: C# Read random line Pin
Pavlex426-Mar-17 21:52
Pavlex426-Mar-17 21:52 
GeneralRe: C# Read random line Pin
OriginalGriff26-Mar-17 22:12
mveOriginalGriff26-Mar-17 22:12 
GeneralRe: C# Read random line Pin
Pavlex426-Mar-17 23:41
Pavlex426-Mar-17 23:41 
GeneralRe: C# Read random line Pin
Pete O'Hanlon26-Mar-17 23:45
mvePete O'Hanlon26-Mar-17 23:45 
GeneralRe: C# Read random line Pin
Pavlex427-Mar-17 0:03
Pavlex427-Mar-17 0:03 
GeneralRe: C# Read random line Pin
Pete O'Hanlon27-Mar-17 0:07
mvePete O'Hanlon27-Mar-17 0:07 
AnswerRe: C# Read random line Pin
Luc Pattyn27-Mar-17 11:15
sitebuilderLuc Pattyn27-Mar-17 11:15 
QuestionHow can I create multi-threads application in which each thread have its own WebDriver to do its tasks? Pin
khanhsk26-Mar-17 4:29
khanhsk26-Mar-17 4:29 
AnswerRe: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks? Pin
Dave Kreskowiak26-Mar-17 4:49
mveDave Kreskowiak26-Mar-17 4:49 
GeneralRe: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks? Pin
khanhsk26-Mar-17 23:49
khanhsk26-Mar-17 23:49 

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.