ClaimsPrincipalPermission.FromXml(SecurityElement) Method

Definition

Reconstructs the current permission and its state from the specified XML encoding.

C#
public void FromXml(System.Security.SecurityElement element);

Parameters

element
SecurityElement

The XML encoding to use to reconstruct the permission.

Implements

Exceptions

element is null.

The encoding contains unrecognized elements or attributes or improperly formed XML.

Remarks

Reconstructs a permission from the XML encoding created by a call to the ToXml method.

Applies to

Proizvod Verzije
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1