Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including state information.
Use the DataProtectionPermission.FromXml(System.Security.SecurityElement) method to restore the state information from a System.Security.SecurityElement.