System.Security.SecurityManager.LoadPolicyLevelFromString Method

Loads a System.Security.Policy.PolicyLevel from the specified string.

Syntax

[System.Obsolete]
public static System.Security.Policy.PolicyLevel LoadPolicyLevelFromString (string str, PolicyLevelType type)

Parameters

str
The XML representation of a security policy level in the same form in which it appears in a configuration file.
type
One of the enumeration values that specifies the type of the policy level to be loaded.

Returns

The loaded policy level.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0