RuntimeHelpers.PrepareConstrainedRegionsNoOP 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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。