PolicyVersion.Namespace Property


Gets the namespace for the policy version.

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

public string Namespace { get; }

Property Value

Type: System.String

A string that contains the WS-Policy namespace.

For WS-Policy 1.2 the returned namespace is http://schemas.xmlsoap.org/ws/2004/09/policy. For WS-Policy 1.5 the returned namespace is http://www.w3.org/ns/ws-policy.

.NET Framework
Available since 3.0
Return to top