Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.Runtime.ConstrainedExecution.Consistency
Assembly: System.Runtime
Specifies a reliability contract.
Values
MayCorruptProcess
In the face of exceptional conditions, the CLR makes no guarantees regarding state consistency; that is, the condition might corrupt the process.
MayCorruptAppDomain
In the face of exceptional conditions, the common language runtime (CLR) makes no guarantees regarding state consistency in the current application domain.
MayCorruptInstance
In the face of exceptional conditions, the method is guaranteed to limit state corruption to the current instance.
WillNotCorruptState
In the face of exceptional conditions, the method is guaranteed not to corrupt state. (This does not guarantee that the method will never fail; however, it does guarantee that such a failure will never corrupt state.)