PolicyVersion Class
TOC
Collapse the table of content
Expand the table of content

PolicyVersion Class

 

A class used to specify the version of the WS-Policy specification being used.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Description.PolicyVersion

public sealed class PolicyVersion

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDefault

Gets the default WS-Policy version.

System_CAPS_pubpropertyNamespace

Gets the namespace for the policy version.

System_CAPS_pubpropertySystem_CAPS_staticPolicy12

Gets a PolicyVersion instance that represents WS-Policy 1.2.

System_CAPS_pubpropertySystem_CAPS_staticPolicy15

Gets a PolicyVersion instance that represents WS-Policy 1.5.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Converts the PolicyVersion instance into a string representation.(Overrides Object.ToString().)

WS-Policy 1.2 and 1.5 are currently supported.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft