CodeGroup.FromXml Method (SecurityElement)


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

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public void FromXml(
	SecurityElement e


Type: System.Security.SecurityElement

The XML encoding to use to reconstruct the security object.

Exception Condition

The e parameter is null.

Notes to Inheritors:

FromXml and ToXml cannot be overridden. If you need to change the way in which your code group implementation handles XML, override the ParseXml and CreateXml methods.

.NET Framework
Available since 1.1
Return to top