AccessViolationException Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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. |