Click here to Skip to main content
       

C#

 
AnswerRe: DirectoryEntry Questions PinmemberErick Kinnee15-Oct-12 4:49 
GeneralRe: DirectoryEntry Questions PinmvpRichard MacCutchan15-Oct-12 5:04 
AnswerRe: DirectoryEntry Questions PinmemberEddy Vluggen15-Oct-12 5:04 
QuestionMessageBox error PinmemberSaridakis Manolis14-Oct-12 23:36 
AnswerRe: MessageBox error Pinmembersirama200414-Oct-12 23:39 
AnswerRe: MessageBox error PinprotectorPete O'Hanlon15-Oct-12 0:21 
AnswerRe: MessageBox error PinmemberEddy Vluggen15-Oct-12 0:43 
QuestionUnhandledException PinmemberHamid.14-Oct-12 3:38 
Does anyone know why this code doenst work?(In a consonle Application)
it cant catch exceptions
static void Main(string[] args)
{
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyException);
 
throw new ArgumentException("for test");
}
 
static void MyException(object sender, UnhandledExceptionEventArgs e)
{
Console.WriteLine(e.ExceptionObject);

}
}
 

Thanks
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )

AnswerRe: UnhandledException PinmvpOriginalGriff14-Oct-12 3:49 
GeneralRe: UnhandledException PinmemberHamid.14-Oct-12 4:14 
GeneralRe: UnhandledException PinmvpOriginalGriff14-Oct-12 4:25 
GeneralRe: UnhandledException PinmemberHamid.14-Oct-12 5:03 
GeneralRe: UnhandledException PinmvpOriginalGriff14-Oct-12 5:12 
GeneralRe: UnhandledException PinmemberHamid.14-Oct-12 5:25 
GeneralRe: UnhandledException Pinmemberjschell14-Oct-12 6:59 
AnswerRe: UnhandledException PinmemberEddy Vluggen14-Oct-12 3:50 
GeneralRe: UnhandledException PinmemberHamid.14-Oct-12 4:17 
GeneralRe: UnhandledException PinmemberEddy Vluggen14-Oct-12 4:22 
GeneralRe: UnhandledException PinmemberHamid.14-Oct-12 5:08 
GeneralRe: UnhandledException PinmemberEddy Vluggen14-Oct-12 8:27 
QuestionError in Messagebox solution PinmemberSaridakis Manolis13-Oct-12 22:56 
AnswerRe: Error in Messagebox solution PinmemberEddy Vluggen14-Oct-12 0:40 
AnswerRe: Error in Messagebox solution PinmvpDave Kreskowiak14-Oct-12 3:58 
QuestionProblem with OpenCvSharp PinmemberDaniel Heinsohn13-Oct-12 11:54 
AnswerRe: Problem with OpenCvSharp PinmemberEddy Vluggen14-Oct-12 0:40 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.140905.1 | Last Updated 14 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid