Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including any state information.
For the XML encoding for this class, see the System.Security.Permissions.ReflectionPermission class page.
This method overrides System.Security.CodeAccessPermission.ToXml .