Bewerken

Delen via


RuntimeHelpers.PrepareConstrainedRegionsNoOP Method

Definition

Caution

The Constrained Execution Region (CER) feature is not supported.

Designates a body of code as a constrained execution region (CER) without performing any probing.

public:
 static void PrepareConstrainedRegionsNoOP();
[System.Obsolete("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static void PrepareConstrainedRegionsNoOP ();
[System.Security.SecurityCritical]
public static void PrepareConstrainedRegionsNoOP ();
public static void PrepareConstrainedRegionsNoOP ();
[<System.Obsolete("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member PrepareConstrainedRegionsNoOP : unit -> unit
[<System.Security.SecurityCritical>]
static member PrepareConstrainedRegionsNoOP : unit -> unit
static member PrepareConstrainedRegionsNoOP : unit -> unit
Public Shared Sub PrepareConstrainedRegionsNoOP ()
Attributes

Remarks

Compilers should not call this method directly. Instead, define a CER by calling the RuntimeHelpers.PrepareConstrainedRegions method.

Applies to