Initializes the current instance from the SecurityElement.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsPrincipalPermission
Dim e As SecurityElement

instance.FromXml(e)

Syntax

Visual Basic
Public Sub FromXml ( _
		e As SecurityElement _
)
C#
public void FromXml (
		SecurityElement e
)
C++
public:
virtual void FromXml (
		SecurityElement^ e
) sealed
J#
public final void FromXml (
		SecurityElement e
)
JScript
public final function FromXml (
		e : SecurityElement
)

Parameters

e

The SecurityElement XML element from which to intialize the current instance.

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also