ConfigurationPermission.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.
Reads the value of the permission state from XML.
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 configuration element from which the permission state is read.
Exceptions
securityElement
is null
.
The unrestricted
attribute for the given securityElement
is neither true
nor false
.
-or-
The Tag for the given securityElement
does not equal "IPermission".
-or-
The class
attribute of the given securityElement
is null
or is not the type name for ConfigurationPermission.
-or-
The version
attribute for the given securityElement
does not equal 1.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示