[ Team LiB ] Previous Section Next Section

ISecurityPolicyEncodable

System.Security (mscorlib.dll)interface
public interface ISecurityPolicyEncodable {
// Public Instance Methods
   public void FromXml(SecurityElement e, System.Security.Policy.PolicyLevel level);
   public SecurityElement ToXml(System.Security.Policy.PolicyLevel level);
}

This interface, like ISecurityEncodable, defines methods to support converting security object state to and from XML representations. However, the ToXml( ) and FromXml( ) methods defined in ISecurityPolicyEncodable include a System.Security.Policy.PolicyLevel argument, allowing the implementing class to base the XML representation of its state on the policy level to which it belongs.

Implemented By

System.Security.Policy.{AllMembershipCondition, ApplicationDirectoryMembershipCondition, HashMembershipCondition, IMembershipCondition, PolicyStatement, PublisherMembershipCondition, SiteMembershipCondition, StrongNameMembershipCondition, UrlMembershipCondition, ZoneMembershipCondition}

    [ Team LiB ] Previous Section Next Section