This documentation is archived and is not being maintained.
AddressHeader.Namespace Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When implemented, gets the namespace of the address header.
Namespace:
System.ServiceModel.Channels
Assembly:
System.ServiceModel (in System.ServiceModel.dll)
public abstract string Namespace { get; }
Property Value
Type:
System.StringThe namespace of the address header.
The following example shows how to access this property.
//Put snippet here.
// Namespace property
AddressHeader addressHeaderWithNS = AddressHeader.CreateAddressHeader("MyServiceName", "http://localhost:8000/service",1);
string addressHeaderNS = addressHeaderWithNS.Namespace;
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0