共用方式為


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。

適用於