PolicyVersion PolicyVersion PolicyVersion PolicyVersion Class


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


WS-Policy 1.2 and 1.5 are currently supported.


Default Default Default Default

Gets the default WS-Policy version.

Namespace Namespace Namespace Namespace

Gets the namespace for the policy version.

Policy12 Policy12 Policy12 Policy12

Gets a PolicyVersion instance that represents WS-Policy 1.2.

Policy15 Policy15 Policy15 Policy15

Gets a PolicyVersion instance that represents WS-Policy 1.5.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Converts the PolicyVersion instance into a string representation.

Applies to