System.Security.Policy.GacMembershipCondition.FromXml Method

Uses the specified XML encoding to reconstruct a security object, using the specified policy level context.

Syntax

public void FromXml (System.Security.SecurityElement e, PolicyLevel level)

Parameters

e
The System.Security.SecurityElement that contains the XML encoding to use to reconstruct the security object.
level
The System.Security.Policy.PolicyLevel context for resolving System.Security.NamedPermissionSet references.

Remarks

The policy level context is provided for resolution of named permission set references. For example, code groups use policy level to find named permission sets.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0