System.Runtime.ConstrainedExecution Namespace
The System.Runtime.ConstrainedExecution namespace defines a set of types that enumerate and define a contract for reliability between the author of some code, and the developers who take a dependency on that code. The types in the System.Runtime.ConstrainedExecution namespace are intended for use in constrained execution regions (CERs).
| Class | Description | |
|---|---|---|
![]() | CriticalFinalizerObject | Ensures that all finalization code in derived classes is marked as critical. |
![]() | PrePrepareMethodAttribute | Instructs the native image generation service to prepare a method for inclusion in a constrained execution region (CER). |
![]() | ReliabilityContractAttribute | Defines a contract for reliability between the author of some code, and the developers who have a dependency on that code. |
| Enumeration | Description | |
|---|---|---|
![]() | Cer | Specifies a method's behavior when called within a constrained execution region. |
![]() | Consistency | Specifies a reliability contract. |

