RuntimeHelpers.PrepareConstrainedRegionsNoOP 方法

定义

注意

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

将代码体指定为受约束的执行区域 (CER),无需执行任何探测。

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 ()
属性

注解

编译器不应直接调用此方法。 而是通过调用 RuntimeHelpers.PrepareConstrainedRegions 方法定义 CER。

适用于