mscorlib(4.0.0.0) API with additions
SystemException.cs
3 
4 namespace System
5 {
8  [ComVisible(true)]
9  public class SystemException : Exception
10  {
12  public SystemException()
13  : base(Environment.GetResourceString("Arg_SystemException"))
14  {
15  SetErrorCode(-2146233087);
16  }
17 
20  public SystemException(string message)
21  : base(message)
22  {
23  SetErrorCode(-2146233087);
24  }
25 
29  public SystemException(string message, Exception innerException)
30  : base(message, innerException)
31  {
32  SetErrorCode(-2146233087);
33  }
34 
39  : base(info, context)
40  {
41  }
42  }
43 }
SystemException()
Initializes a new instance of the T:System.SystemException class.
Serves as the base class for system exceptions namespace.
SystemException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.SystemException class with serialized data.
Definition: __Canon.cs:3
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about, and means to manipulate, the current environment and platform....
Definition: Environment.cs:21
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition: Exception.cs:22
Specifies that the class can be serialized.
SystemException(string message, Exception innerException)
Initializes a new instance of the T:System.SystemException class with a specified error message and a...
SystemException(string message)
Initializes a new instance of the T:System.SystemException class with a specified error message.