March 2004
Intermediate to advanced
560 pages
26h 47m
English
public class ArgumentNullException : ArgumentException { // Constructors public ArgumentNullException (); public ArgumentNullException (string paramName); public ArgumentNullException (string paramName, string message); MS CF protected ArgumentNullException (SerializationInfo info, StreamingContext context); }
|
BA This class goes down in the API design hall of shame. ArgumentNullException does not follow the exception constructor pattern given in the Design Guidelines Specification, which says the constructor overloads should include at least: public XxxException (); public XxxException (string message); public XxxException (string message, Exception inner); The rationale for violating this guideline was that the parameter name ... |
Read now
Unlock full access