DBDataPermission.FromXml(SecurityElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reconstructs a security object with a specified state from an XML encoding.
public:
override void FromXml(System::Security::SecurityElement ^ securityElement);
public override void FromXml (System.Security.SecurityElement securityElement);
override this.FromXml : System.Security.SecurityElement -> unit
Public Overrides Sub FromXml (securityElement As SecurityElement)
Parameters
- securityElement
- SecurityElement
The XML encoding to use to reconstruct the security object.
Remarks
Custom code that extends security objects needs to implement the ToXml
and FromXml
methods to make the objects security encodable.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.