Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PolicyVersion Class

Definition

Namespace:
System.ServiceModel.Description
Assembly:
System.ServiceModel.dll
Source:
PolicyVersion.cs
Source:
PolicyVersion.cs
Source:
PolicyVersion.cs

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.

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
Inheritance
PolicyVersion

Remarks

WS-Policy 1.2 and 1.5 are currently supported.

Properties

Name Description
Default

Gets the default WS-Policy version.

Namespace

Gets the namespace for the policy version.

Policy12

Gets a PolicyVersion instance that represents WS-Policy 1.2.

Policy15

Gets a PolicyVersion instance that represents WS-Policy 1.5.

Methods

Name Description
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Converts the PolicyVersion instance into a string representation.

Applies to


Feedback

Was this page helpful?