Edit

Share via


ResourcePermissionBase.FromXml(SecurityElement) Method

Definition

Reconstructs a security object with a specified state from an XML encoding.

public:
 override void FromXml(System::Security::SecurityElement ^ securityElement);
public override void FromXml (System.Security.SecurityElement securityElement);
override this.FromXml : System.Security.SecurityElement -> unit
Public Overrides Sub FromXml (securityElement As SecurityElement)

Parameters

securityElement
SecurityElement

The XML encoding to use to reconstruct the security object.

Exceptions

The securityElement parameter is not a valid permission element.

-or-

The version number of the securityElement parameter is not supported.

The securityElement parameter is null.

Applies to