0 out of 1 rated this helpful - Rate this topic

SecurityElement.FromString Method

Note: This method is new in the .NET Framework version 2.0.

Creates a security element from an XML-encoded string.

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)

public static SecurityElement FromString (
	string xml
)
public static SecurityElement FromString (
	String xml
)
public static function FromString (
	xml : String
) : SecurityElement

Parameters

xml

The XML-encoded string from which to create the security element.

Return Value

A SecurityElement created from the XML.
Exception type Condition

XmlSyntaxException

xml contains one or more single quotation mark characters.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ