Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The FromXml method of the WebPartPermission class reconstructs a WebPartPermission from an XML encoding.
Parameters
securityElement The XML encoding from which to reconstruct the WebPartPermission.
Exceptions
Exception Type | Condition |
---|---|
ArgumentNullException | The securityElement parameter is a null reference (Nothing in Visual Basic). |
ArgumentException | The securityElement is not of type WebPartPermission. |
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security