Click here to Skip to main content
15,887,964 members
Home / Discussions / C#
   

C#

 
GeneralRe: Desktop App or Access 2003? Pin
hellbentuk15-Nov-08 1:41
hellbentuk15-Nov-08 1:41 
QuestionException Constructor Pin
George_George14-Nov-08 2:17
George_George14-Nov-08 2:17 
AnswerRe: Exception Constructor Pin
J4amieC14-Nov-08 2:23
J4amieC14-Nov-08 2:23 
GeneralRe: Exception Constructor Pin
George_George16-Nov-08 2:05
George_George16-Nov-08 2:05 
AnswerRe: Exception Constructor Pin
Le centriste14-Nov-08 5:44
Le centriste14-Nov-08 5:44 
GeneralRe: Exception Constructor Pin
George_George16-Nov-08 2:07
George_George16-Nov-08 2:07 
GeneralRe: Exception Constructor Pin
Le centriste16-Nov-08 2:33
Le centriste16-Nov-08 2:33 
GeneralRe: Exception Constructor Pin
George_George16-Nov-08 2:47
George_George16-Nov-08 2:47 
Thanks Le Centriste!

1.

You are so cool! I almost understand your points. Let me clarify. I think you mean even if the constructor in derived class MyException (below) did nothing but just do the same as base class, and if I do not include this constructor in derived class, it will hide the same signature constructor in base class, so that for an instance of derived class, we can not call this contructor (base constructor will not be called and found automatically, and base class constructor will be hide)?

public MyExceptionClass (SerializationInfo info, StreamingContext context)


2.

How about my question #1 in my original question? What is the difference between marking this contructor to be protected and to be public? Any special usage scenarios?

regards,
George
GeneralRe: Exception Constructor Pin
Le centriste16-Nov-08 2:54
Le centriste16-Nov-08 2:54 
GeneralRe: Exception Constructor Pin
George_George16-Nov-08 2:56
George_George16-Nov-08 2:56 
GeneralRe: Exception Constructor Pin
N a v a n e e t h17-Nov-08 15:06
N a v a n e e t h17-Nov-08 15:06 
GeneralRe: Exception Constructor Pin
George_George18-Nov-08 2:21
George_George18-Nov-08 2:21 
AnswerRe: Exception Constructor Pin
N a v a n e e t h14-Nov-08 17:36
N a v a n e e t h14-Nov-08 17:36 
GeneralRe: Exception Constructor Pin
George_George16-Nov-08 2:08
George_George16-Nov-08 2:08 
GeneralRe: Exception Constructor Pin
N a v a n e e t h16-Nov-08 3:35
N a v a n e e t h16-Nov-08 3:35 
GeneralRe: Exception Constructor Pin
George_George16-Nov-08 3:40
George_George16-Nov-08 3:40 
QuestionMediaElement Recorder Pin
mabbas_8614-Nov-08 2:09
mabbas_8614-Nov-08 2:09 
AnswerRe: MediaElement Recorder Pin
Thomas Stockwell14-Nov-08 2:55
professionalThomas Stockwell14-Nov-08 2:55 
Questionsimple example of asp.net page using control Pin
maifs14-Nov-08 1:58
maifs14-Nov-08 1:58 
AnswerRe: simple example of asp.net page using control Pin
Pr@teek B@h!14-Nov-08 3:01
Pr@teek B@h!14-Nov-08 3:01 
Questionsimple example of asp.net page using control Pin
maifs14-Nov-08 1:58
maifs14-Nov-08 1:58 
AnswerRe: simple example of asp.net page using control Pin
Vimalsoft(Pty) Ltd14-Nov-08 3:57
professionalVimalsoft(Pty) Ltd14-Nov-08 3:57 
GeneralRe: simple example of asp.net page using control Pin
Le centriste14-Nov-08 5:45
Le centriste14-Nov-08 5:45 
QuestionRun a screensaver from a C# .NET Framework 3.5 2008 Console Application Pin
Joshomedia14-Nov-08 0:02
Joshomedia14-Nov-08 0:02 
AnswerRe: Run a screensaver from a C# .NET Framework 3.5 2008 Console Application Pin
Jimmanuel14-Nov-08 1:37
Jimmanuel14-Nov-08 1:37 

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.