共用方式為


ZoneMembershipCondition 類別

定義

藉由測試組件的來源地區,判斷組件是否屬於程式碼群組。 此類別無法獲得繼承。

public ref class ZoneMembershipCondition sealed : System::Security::ISecurityEncodable, System::Security::Policy::IMembershipCondition
public ref class ZoneMembershipCondition sealed : System::Security::Policy::IMembershipCondition
public ref class ZoneMembershipCondition sealed
public sealed class ZoneMembershipCondition : System.Security.ISecurityEncodable, System.Security.Policy.IMembershipCondition
[System.Serializable]
public sealed class ZoneMembershipCondition : System.Security.Policy.IMembershipCondition
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ZoneMembershipCondition
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ZoneMembershipCondition : System.Security.Policy.IMembershipCondition
type ZoneMembershipCondition = class
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
    interface IMembershipCondition
type ZoneMembershipCondition = class
    interface ISecurityEncodable
    interface IMembershipCondition
    interface ISecurityPolicyEncodable
[<System.Serializable>]
type ZoneMembershipCondition = class
    interface IMembershipCondition
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ZoneMembershipCondition = class
    interface IMembershipCondition
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
Public NotInheritable Class ZoneMembershipCondition
Implements IMembershipCondition, ISecurityEncodable
Public NotInheritable Class ZoneMembershipCondition
Implements IMembershipCondition
Public NotInheritable Class ZoneMembershipCondition
繼承
ZoneMembershipCondition
屬性
實作

建構函式

ZoneMembershipCondition(SecurityZone)

使用判斷成員資格的地區,初始化 ZoneMembershipCondition 類別的新執行個體。

屬性

SecurityZone

取得或設定用來測試成員資格條件的地區。

方法

Check(Evidence)

判斷指定的辨識項是否符合成員資格條件。

Copy()

建立成員資格條件的相等複本。

Equals(Object)

判斷來自指定物件的地區是否等同於目前 ZoneMembershipCondition 中所包含的地區。

FromXml(SecurityElement)

透過 XML 編碼,重新建構具有指定狀態的安全性物件。

FromXml(SecurityElement, PolicyLevel)

透過 XML 編碼,重新建構具有指定狀態的安全性物件。

GetHashCode()

取得目前成員資格條件的雜湊程式碼。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

建立並傳回成員資格條件的字串表示。

ToXml()

建立安全物件及其目前狀態的 XML 編碼方式。

ToXml(PolicyLevel)

使用指定的 PolicyLevel,建立安全性物件的 XML 編碼方式和它的目前狀態。

適用於