ClaimsPrincipalPermission.FromXml(SecurityElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reconstructs the current permission and its state from the specified XML encoding.
public:
virtual void FromXml(System::Security::SecurityElement ^ element);
public void FromXml (System.Security.SecurityElement element);
abstract member FromXml : System.Security.SecurityElement -> unit
override this.FromXml : System.Security.SecurityElement -> unit
Public Sub FromXml (element As SecurityElement)
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.