mscorlib 2.0.0.0 4.0.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Interface | System.AttributeTargets.All, Inherited=false)

The attribute provides a mechanism for you to document your code, and to indicate what type of reliability guarantees you can make in the face of exceptional conditions that could potentially lead to an inconsistent state. In this context, exceptional conditions are defined as asynchronous exceptions that can be generated at run time by the common language runtime, such as aborted threads, out-of-memory situations, and stack overflows. You can apply the attribute to assemblies, types, and methods.

Use this attribute with the enumeration to define a reliability contract by documenting the level of reliability in a particular piece of code.

Defines a contract for reliability between the author of some code, and the developers who have a dependency on that code.

- Constructor
  2.0.0.0
  4.0.0.0
  To be added.

  Initializes a new instance of the class with the specified guarantee and value.

  One of the values.
  One of the values.
- Property
  2.0.0.0
  4.0.0.0
  System.Runtime.ConstrainedExecution.Cer To be added. To be added.

  Gets the value that determines the behavior of a method, type, or assembly when called under a Constrained Execution Region (CER).

- Property
  2.0.0.0
  4.0.0.0
  System.Runtime.ConstrainedExecution.Consistency To be added. To be added.

  Gets the value of the reliability contract.