Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IMembershipCondition Interface

Definition

Namespace:
System.Security.Policy
Assembly:
System.Security.Permissions.dll
Assembly:
mscorlib.dll
Package:
System.Security.Permissions v11.0.0-preview.5.26302.115
Source:
IMembershipCondition.cs
Source:
IMembershipCondition.cs
Source:
IMembershipCondition.cs
Source:
IMembershipCondition.cs
Source:
IMembershipCondition.cs
Source:
IMembershipCondition.cs
Source:
IMembershipCondition.cs
Source:
IMembershipCondition.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
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


Feedback

Was this page helpful?