mscorlib(4.0.0.0) API with additions
AccessViolationException.cs
3 
4 namespace System
5 {
8  [ComVisible(true)]
10  {
11  private IntPtr _ip;
12 
13  private IntPtr _target;
14 
15  private int _accessType;
16 
19  : base(Environment.GetResourceString("Arg_AccessViolationException"))
20  {
21  SetErrorCode(-2147467261);
22  }
23 
26  public AccessViolationException(string message)
27  : base(message)
28  {
29  SetErrorCode(-2147467261);
30  }
31 
35  public AccessViolationException(string message, Exception innerException)
36  : base(message, innerException)
37  {
38  SetErrorCode(-2147467261);
39  }
40 
45  : base(info, context)
46  {
47  }
48  }
49 }
The exception that is thrown when there is an attempt to read or write protected memory.
Serves as the base class for system exceptions namespace.
Definition: __Canon.cs:3
AccessViolationException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.AccessViolationException class with serialized data.
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
A platform-specific type that is used to represent a pointer or a handle.
Definition: IntPtr.cs:14
AccessViolationException(string message)
Initializes a new instance of the T:System.AccessViolationException class with a specified message th...
AccessViolationException(string message, Exception innerException)
Initializes a new instance of the T:System.AccessViolationException class with a specified error mess...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
AccessViolationException()
Initializes a new instance of the T:System.AccessViolationException class with a system-supplied mess...
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.