CodeAccessPermission.RevertAssert 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會讓目前幀的所有先前 Assert() 設定被移除,不再有效。
public:
static void RevertAssert();
public static void RevertAssert();
static member RevertAssert : unit -> unit
Public Shared Sub RevertAssert ()
例外狀況
目前框架沒有先行 Assert() 。
備註
若當前框架為 no Assert ,則擲出 a ExecutionEngineException 。