Type Reason ArgumentNullException The esd parameter is null. ArgumentException The esd parameter is not a System.Security.Permissions.ReflectionPermission element.
-or-
The esd parameter's version number is not valid.
The state of the current instance is changed to the state encoded in esd.
For the XML encoding for this class, see the System.Security.Permissions.ReflectionPermission class page.
This method overrides System.Security.CodeAccessPermission.FromXml(System.Security.SecurityElement) .