Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IMembershipCondition Interface

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.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft