Sets the named permission set according to XML element description.
[Visual Basic] Overrides Public Sub FromXml( _ ByVal et As SecurityElement _ ) [C#] public override void FromXml( SecurityElement et ); [C++] public: override void FromXml( SecurityElement* et ); [JScript] public override function FromXml( et : SecurityElement );
Exception Type | Condition |
---|---|
ArgumentException | if the element is not a valid representation of a named permission set. |
This method recreates the state of a named permission set from an XML element previously created by ToXML() method.
NamedPermissionSet Class | NamedPermissionSet Members | System.Security Namespace