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.

適用於