System.Security.VerificationException Class

The exception that is thrown when the security policy requires code to be type safe and the verification process is unable to verify that the code is type safe.

See Also: VerificationException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class VerificationException : SystemException

Remarks

Note:

The following CIL instructions throw System.Security.VerificationException:

  • ldloc
  • ldloca.<length>

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0