PolicyVersion 类

定义

一个类,用于指定使用的 WS-Policy 规范的版本。A class used to specify the version of the WS-Policy specification being used.

public ref class PolicyVersion sealed
public sealed class PolicyVersion
type PolicyVersion = class
Public NotInheritable Class PolicyVersion
继承
PolicyVersion

注解

当前支持 WS-Policy 1.2 和 1.5。WS-Policy 1.2 and 1.5 are currently supported.

属性

Default

获取默认 WS-Policy 版本。Gets the default WS-Policy version.

Namespace

获取策略版本的命名空间。Gets the namespace for the policy version.

Policy12

获取表示 WS-Policy 1.2 的一个 PolicyVersion 实例。Gets a PolicyVersion instance that represents WS-Policy 1.2.

Policy15

获取表示 WS-Policy 1.5 的一个 PolicyVersion 实例。Gets a PolicyVersion instance that represents WS-Policy 1.5.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

PolicyVersion 实例转换为字符串表示形式。Converts the PolicyVersion instance into a string representation.

适用于