NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PolicyLevel.FromXml

Reconstructs a security object with a given state from an XML encoding.

[Visual Basic]
Public Sub FromXml( _
   ByVal e As SecurityElement _
)
[C#]
public void FromXml(
   SecurityElement e
);
[C++]
public: void FromXml(
   SecurityElement* e
);
[JScript]
public function FromXml(
   e : SecurityElement
);

Parameters

e
The XML encoding to use to reconstruct the security object.

Remarks

Custom code that extends security objects will need to implement the ToXML and FromXML methods to make the objects security-encodable.

See Also

PolicyLevel Class | PolicyLevel Members | System.Security.Policy Namespace