AccessViolationException Constructor ()
Initializes a new instance of the AccessViolationException class with a system-supplied message that describes the error.
Assembly: mscorlib (in mscorlib.dll)
This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "Attempted to read or write protected memory. This is often an indication that other memory has been corrupted." This message takes into account the current system culture.
The following table shows the initial property values for an instance of AccessViolationException.
Property | Value |
|---|---|
null. | |
The localized error message string. |
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0