Edit

Share via


NamedPermissionSet.FromXml(SecurityElement) Method

Definition

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

et
SecurityElement

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.

Applies to