編輯

共用方式為


IMembershipCondition Interface

Definition

Defines the test to determine whether a code assembly is a member of a code group.

public interface class IMembershipCondition : System::Security::ISecurityEncodable, System::Security::ISecurityPolicyEncodable
public interface IMembershipCondition : System.Security.ISecurityEncodable, System.Security.ISecurityPolicyEncodable
[System.Runtime.InteropServices.ComVisible(true)]
public interface IMembershipCondition : System.Security.ISecurityEncodable, System.Security.ISecurityPolicyEncodable
type IMembershipCondition = interface
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
[<System.Runtime.InteropServices.ComVisible(true)>]
type IMembershipCondition = interface
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
Public Interface IMembershipCondition
Implements ISecurityEncodable, ISecurityPolicyEncodable
Derived
Attributes
Implements

Methods

Check(Evidence)

Determines whether the specified evidence satisfies the membership condition.

Copy()

Creates an equivalent copy of the membership condition.

Equals(Object)

Determines whether the specified Object is equal to the current Object.

FromXml(SecurityElement, PolicyLevel)

Reconstructs a security object with a specified state from an XML encoding.

(Inherited from ISecurityPolicyEncodable)
FromXml(SecurityElement)

Reconstructs a security object with a specified state from an XML encoding.

(Inherited from ISecurityEncodable)
ToString()

Creates and returns a string representation of the membership condition.

ToXml()

Creates an XML encoding of the security object and its current state.

(Inherited from ISecurityEncodable)
ToXml(PolicyLevel)

Creates an XML encoding of the security object and its current state.

(Inherited from ISecurityPolicyEncodable)

Applies to