FileIOPermission.FromXml(SecurityElement) FileIOPermission.FromXml(SecurityElement) FileIOPermission.FromXml(SecurityElement) FileIOPermission.FromXml(SecurityElement) Method

定义

从 XML 编码重新构造具有指定状态的权限。Reconstructs a permission with a specified state from an XML encoding.

public:
 override void FromXml(System::Security::SecurityElement ^ esd);
public override void FromXml (System.Security.SecurityElement esd);
override this.FromXml : System.Security.SecurityElement -> unit
Public Overrides Sub FromXml (esd As SecurityElement)

参数

esd
SecurityElement SecurityElement SecurityElement SecurityElement

用于重新构造权限的 XML 编码。The XML encoding used to reconstruct the permission.

异常

esd 参数不是有效的权限元素。The esd parameter is not a valid permission element.

- 或 --or- esd 参数的版本号不兼容。The esd parameter's version number is not compatible.

适用于