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!

FirstMatchCodeGroup.FromXml (SecurityElement, PolicyLevel)

Security policy object XML deserializer- includes policy level reference

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

Parameters

e
The XML encoding to use to reconstruct the security object.
level
[To be supplied.]

Remarks

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

See Also

FirstMatchCodeGroup Class | FirstMatchCodeGroup Members | System.Security.Policy Namespace | FirstMatchCodeGroup.FromXml Overload List