NamedPermissionSet.FromXml(SecurityElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reconstructs a named permission set with a specified state from an XML encoding.
public:
override void FromXml(System::Security::SecurityElement ^ et);
public override void FromXml (System.Security.SecurityElement et);
override this.FromXml : System.Security.SecurityElement -> unit
Public Overrides Sub FromXml (et As SecurityElement)
Parameters
A security element containing the XML representation of the named permission set.
Exceptions
The et
parameter is not a valid representation of a named permission set.
The et
parameter is null
.
Remarks
This method recreates the state of a named permission set from an XML element previously created by ToXml.