TrustManagerContext 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示在決定是否執行應用程式,以及在執行應用程式的新 AppDomain 上設定安全性時,信任管理員要考慮的內容。
public ref class TrustManagerContext
C#
public class TrustManagerContext
C#
[System.Runtime.InteropServices.ComVisible(true)]
public class TrustManagerContext
type TrustManagerContext = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type TrustManagerContext = class
Public Class TrustManagerContext
- 繼承
-
TrustManagerContext
- 屬性
如需 TrustManagerContext 類別之執行個體的初始屬性值清單,請參閱 TrustManagerContext() 建構函式。
Trust |
初始化 TrustManagerContext 類別的新執行個體。 |
Trust |
使用指定的 TrustManagerUIContext 物件,初始化 TrustManagerContext 類別的新執行個體。 |
Ignore |
取得或設定值,指出應用程式安全性管理員是否應忽略任何持續 (Persist) 的決策,並呼叫信任管理員。 |
Keep |
取得或設定值,指出信任管理員是否應快取這個應用程式的狀態,以方便處理未來對判斷應用程式信任的要求。 |
No |
取得或設定值,指出信任管理員是否應提示使用者做出信任決策。 |
Persist |
取得或設定值,指出使用者對同意對話方塊的回應是否應持續。 |
Previous |
取得或設定上一個應用程式識別 (Identity) 的識別。 |
UIContext |
取得或設定信任管理員應顯示的使用者介面型別。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |