System.Web.AspNetHostingPermission.FromXml Method

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

Syntax

public override void FromXml (System.Security.SecurityElement securityElement)

Parameters

securityElement
The System.Security.SecurityElement containing the XML encoding to use to reconstruct the permission object.

Remarks

For details about formatting the XML representation of permission object state, see Implementing a Custom Permission.

Requirements

Namespace: System.Web
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0