Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
JokeRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 2:16
mentorNot Active2-Mar-10 2:16 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Keith Barrow2-Mar-10 2:27
professionalKeith Barrow2-Mar-10 2:27 
GeneralShameless self-promotion Pin
Keith Barrow2-Mar-10 2:26
professionalKeith Barrow2-Mar-10 2:26 
JokeRe: Optional parameter declaration in C3 3.5 Pin
Abhinav S2-Mar-10 3:28
Abhinav S2-Mar-10 3:28 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 4:03
mentorNot Active2-Mar-10 4:03 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Luc Pattyn2-Mar-10 4:09
sitebuilderLuc Pattyn2-Mar-10 4:09 
Questionproblem in my service. Pin
noamtzu002-Mar-10 1:48
noamtzu002-Mar-10 1:48 
AnswerRe: problem in my service. Pin
Rob Philpott2-Mar-10 2:09
Rob Philpott2-Mar-10 2:09 
Services stop when an unhandled exception is thrown, so you need to make sure you handle them. You could maybe do this quite high up - do you have a loop on a thread created in OnStart()?

However, that just assumes you can just carry on if something bad happens. You really need to consider the execution path which may result from an exception being thrown. If you get a network error, you might want to try again a short while later. If you run out of memory or disc space, you probably do want the service to stop...
Regards,
Rob Philpott.

QuestionMulti Language in Dont Net Pin
Syed Shahid Hussain2-Mar-10 1:29
Syed Shahid Hussain2-Mar-10 1:29 
AnswerMessage Closed Pin
2-Mar-10 1:34
stancrm2-Mar-10 1:34 
GeneralRe: Multi Language in Dont Net Pin
Syed Shahid Hussain2-Mar-10 1:59
Syed Shahid Hussain2-Mar-10 1:59 
GeneralMessage Closed Pin
2-Mar-10 2:04
stancrm2-Mar-10 2:04 
GeneralRe: Multi Language in Dont Net Pin
Syed Shahid Hussain2-Mar-10 3:14
Syed Shahid Hussain2-Mar-10 3:14 
AnswerRe: Multi Language in Dont Net Pin
kevinnicol2-Mar-10 2:53
kevinnicol2-Mar-10 2:53 
GeneralRe: Multi Language in Dont Net Pin
Syed Shahid Hussain2-Mar-10 3:15
Syed Shahid Hussain2-Mar-10 3:15 
QuestionProject Version Pin
jojoba20112-Mar-10 0:04
jojoba20112-Mar-10 0:04 
AnswerRe: Project Version Pin
Rashmi_Karnam2-Mar-10 1:01
Rashmi_Karnam2-Mar-10 1:01 
AnswerRe: Project Version Pin
carlecomm2-Mar-10 18:04
carlecomm2-Mar-10 18:04 
QuestionPassing strings between windows forms Pin
Phil Saville1-Mar-10 23:26
Phil Saville1-Mar-10 23:26 
AnswerRe: Passing strings between windows forms Pin
OriginalGriff1-Mar-10 23:51
mveOriginalGriff1-Mar-10 23:51 
AnswerRe: Passing strings between windows forms Pin
DaveyM692-Mar-10 1:01
professionalDaveyM692-Mar-10 1:01 
AnswerRe: Passing strings between windows forms Pin
Som Shekhar2-Mar-10 1:03
Som Shekhar2-Mar-10 1:03 
GeneralRe: Passing strings between windows forms Pin
Syed Shahid Hussain2-Mar-10 1:27
Syed Shahid Hussain2-Mar-10 1:27 
GeneralRe: Passing strings between windows forms Pin
OriginalGriff2-Mar-10 1:52
mveOriginalGriff2-Mar-10 1:52 
GeneralRe: Passing strings between windows forms Pin
Phil Saville2-Mar-10 2:28
Phil Saville2-Mar-10 2:28 

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.