Mono Class Library: System.Security.Permissions.ReflectionPermission Overview | MembersSystem.Security.Permissions.ReflectionPermission.FromXml Method |
Reconstructs the state of a System.Security.Permissions.ReflectionPermission object using the specified XML encoding. [Edit]
|
- esd
- A System.Security.SecurityElement instance containing the XML encoding to use to reconstruct the state of a System.Security.Permissions.ReflectionPermission object. [Edit]
Type Reason ArgumentNullException The esd parameter is null. [Edit] ArgumentException The esd parameter is not a System.Security.Permissions.ReflectionPermission element.
-or-
The esd parameter's version number is not valid.
[Edit]
The state of the current instance is changed to the state encoded in esd.
Note:[Edit]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) .
Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0