HashMembershipCondition.ToXml 方法
定义
创建安全对象及其当前状态的 XML 编码。Creates an XML encoding of the security object and its current state.
重载
| ToXml() |
创建安全对象及其当前状态的 XML 编码。Creates an XML encoding of the security object and its current state. |
| ToXml(PolicyLevel) |
使用指定的 PolicyLevel 创建安全对象及其当前状态的 XML 编码。Creates an XML encoding of the security object and its current state with the specified PolicyLevel. |
ToXml()
创建安全对象及其当前状态的 XML 编码。Creates an XML encoding of the security object and its current state.
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 编码,包括任何状态信息。An XML encoding of the security object, including any state information.
实现
适用于
ToXml(PolicyLevel)
使用指定的 PolicyLevel 创建安全对象及其当前状态的 XML 编码。Creates an XML encoding of the security object and its current state with the specified PolicyLevel.
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
用于解析命名的权限集引用的策略级别上下文。The policy level context for resolving named permission set references.
返回
安全对象的 XML 编码,包括任何状态信息。An XML encoding of the security object, including any state information.