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

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft