ApplicationDirectoryMembershipCondition.ToXml 方法

定义

创建安全对象及其当前状态的 XML 编码。

重载

ToXml()

创建安全对象及其当前状态的 XML 编码。

ToXml(PolicyLevel)

使用指定的 PolicyLevel 创建安全对象及其当前状态的 XML 编码。

ToXml()

Source:
ApplicationDirectoryMembershipCondition.cs
Source:
ApplicationDirectoryMembershipCondition.cs
Source:
ApplicationDirectoryMembershipCondition.cs
Source:
ApplicationDirectoryMembershipCondition.cs

创建安全对象及其当前状态的 XML 编码。

public:
 virtual System::Security::SecurityElement ^ ToXml();
public System.Security.SecurityElement ToXml ();
abstract member ToXml : unit -> System.Security.SecurityElement
override this.ToXml : unit -> System.Security.SecurityElement
Public Function ToXml () As SecurityElement

返回

安全对象的 XML 编码,包括任何状态信息。

实现

适用于

ToXml(PolicyLevel)

Source:
ApplicationDirectoryMembershipCondition.cs
Source:
ApplicationDirectoryMembershipCondition.cs
Source:
ApplicationDirectoryMembershipCondition.cs
Source:
ApplicationDirectoryMembershipCondition.cs

使用指定的 PolicyLevel 创建安全对象及其当前状态的 XML 编码。

public:
 virtual System::Security::SecurityElement ^ ToXml(System::Security::Policy::PolicyLevel ^ level);
public System.Security.SecurityElement ToXml (System.Security.Policy.PolicyLevel level);
abstract member ToXml : System.Security.Policy.PolicyLevel -> System.Security.SecurityElement
override this.ToXml : System.Security.Policy.PolicyLevel -> System.Security.SecurityElement
Public Function ToXml (level As PolicyLevel) As SecurityElement

参数

level
PolicyLevel

用于解析命名的权限集引用的策略级别上下文。

返回

安全对象的 XML 编码,包括任何状态信息。

实现

适用于