This documentation is archived and is not being maintained.

IMembershipCondition Interface

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

Namespace:  System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)]
public interface IMembershipCondition : ISecurityEncodable, 
	ISecurityPolicyEncodable

The IMembershipCondition type exposes the following members.

  NameDescription
Public methodCheckDetermines whether the specified evidence satisfies the membership condition.
Public methodCopyCreates an equivalent copy of the membership condition.
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
Public methodFromXml(SecurityElement)Reconstructs a security object with a specified state from an XML encoding. (Inherited from ISecurityEncodable.)
Public methodFromXml(SecurityElement, PolicyLevel)Reconstructs a security object with a specified state from an XML encoding. (Inherited from ISecurityPolicyEncodable.)
Public methodToStringCreates and returns a string representation of the membership condition.
Public methodToXml()Creates an XML encoding of the security object and its current state. (Inherited from ISecurityEncodable.)
Public methodToXml(PolicyLevel)Creates an XML encoding of the security object and its current state. (Inherited from ISecurityPolicyEncodable.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: