Sie sind hier: Startseite | Wissen
Begriff Constrained Execution Region
Abkürzung CER
Eintrag zuletzt aktualisiert am 28.07.2006

 Zur Stichwortliste unseres Lexikons

Was ist Constrained Execution Region?

"A constrained execution region (CER) is part of a mechanism for authoring reliable managed code. A CER defines an area in which the common language runtime (CLR) is constrained from throwing out-of-band exceptions that would prevent the code in the area from executing in its entirety. Within that region, user code is constrained from executing code that would result in the throwing of out-of-band exceptions. The PrepareConstrainedRegions method must immediately precede a try block and marks catch, finally, and fault blocks as constrained execution regions. Once marked as a constrained region, code must only call other code with strong reliability contracts, and code should not allocate or make virtual calls to unprepared or unreliable methods unless the code is prepared to handle failures. The CLR delays thread aborts for code that is executing in a CER."

http://msdn2.microsoft.com/en-us/library/ms228973.aspx

Beratung & Support:

Schulungen zu diesem Thema:

 Anfrage für eine individuelle Schulung zum Thema Constrained Execution Region  Gesamter Schulungsthemenkatalog