System.Security.Policy.CodeGroup.FromXml Method

Reconstructs a security object with a given state and policy level from an XML encoding.

Syntax

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

Parameters

e
The XML encoding to use to reconstruct the security object.
level
The policy level within which the code group exists.

Remarks

The policy level context is provided for resolution of named permission sets.

Requirements

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