PolicyStatement
Represents the statement of a CodeGroup describing the permissions and other information that apply to code with a particular set of evidence. This class cannot be inherited.
namespace System.Security.Policy
{
public sealed class PolicyStatement : ISecurityEncodable, ISecurityPolicyEncodable
{
public PolicyStatementAttribute Attributes { get; set; }
public string AttributeString => null;
[Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public PermissionSet PermissionSet { get; set; }
[Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public PolicyStatement(PermissionSet permSet)
{
}
[Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public PolicyStatement(PermissionSet permSet, PolicyStatementAttribute attributes)
{
}
public PolicyStatement Copy()
{
return this;
}
public override bool Equals(object o)
{
return base.Equals(o);
}
public void FromXml(SecurityElement et)
{
}
public void FromXml(SecurityElement et, PolicyLevel level)
{
}
public override int GetHashCode()
{
return base.GetHashCode();
}
public SecurityElement ToXml()
{
return null;
}
public SecurityElement ToXml(PolicyLevel level)
{
return null;
}
}
}