Export (0) Print
Expand All

PolicyStatement Class

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.

For a list of all members of this type, see PolicyStatement Members.

System.Object
   System.Security.Policy.PolicyStatement

[Visual Basic]
<Serializable>
NotInheritable Public Class PolicyStatement
   Implements ISecurityEncodable, ISecurityPolicyEncodable
[C#]
[Serializable]
public sealed class PolicyStatement : ISecurityEncodable,
   ISecurityPolicyEncodable
[C++]
[Serializable]
public __gc __sealed class PolicyStatement : public
   ISecurityEncodable, ISecurityPolicyEncodable
[JScript]
public
   Serializable
class PolicyStatement implements ISecurityEncodable,
   ISecurityPolicyEncodable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

PolicyStatement consists of a set of granted permissions, and possible special attributes for the code group.

Policy statements are typically used as the result of a Resolve operation on a PolicyLevel.

Requirements

Namespace: System.Security.Policy

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

PolicyStatement Members | System.Security.Policy Namespace

Show:
© 2015 Microsoft