IMembershipCondition Interface

Definition

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

C#
public interface IMembershipCondition : System.Security.ISecurityEncodable, System.Security.ISecurityPolicyEncodable
C#
[System.Runtime.InteropServices.ComVisible(true)]
public interface IMembershipCondition : System.Security.ISecurityEncodable, System.Security.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

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 1.1, 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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9