共用方式為


HashMembershipCondition 類別

定義

測試組件的雜湊值 (Hash Value) 藉此判斷組件是否屬於程式碼群組。 此類別無法獲得繼承。

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

建構函式

HashMembershipCondition(HashAlgorithm, Byte[])

使用判斷成員資格的雜湊演算法和雜湊值,初始化 HashMembershipCondition 類別的新執行個體。

屬性

HashAlgorithm

取得或設定要用於成員資格條件的雜湊演算法。

HashValue

取得或設定用來測試成員資格條件的雜湊值。

方法

Check(Evidence)

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

Copy()

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

Equals(Object)

判斷來自指定物件的 HashValueHashAlgorithm 是否等同於目前 HashValue 中所包含的 HashAlgorithmHashMembershipCondition

FromXml(SecurityElement, PolicyLevel)

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

FromXml(SecurityElement)

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

GetHashCode()

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

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

ToXml()

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

ToXml(PolicyLevel)

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

明確介面實作

IDeserializationCallback.OnDeserialization(Object)

執行於整個物件 Graph 已經還原序列化時。

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

將序列化目標物件所需的資料填入 SerializationInfo

適用於