EndpointAddress.Headers Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the collection of address headers for the endpoints that the builder can create.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.Channels.AddressHeaderCollectionThe AddressHeaderCollection that contains address information for the endpoint.
'Use Headers property to create a collection of address headers from the EnpointAddress Dim addressHeader3 As AddressHeader = AddressHeader.CreateAddressHeader("specialservice3", "http://localhost:8000/service", 1) Dim addressHeader4 As AddressHeader = AddressHeader.CreateAddressHeader("specialservice4", "http://localhost:8000/service", 2) Dim addressHeaders2() As AddressHeader = { addressHeader3, addressHeader4 } Dim endpointAddressWithHeaders2 As New EndpointAddress(New Uri("http://localhost/silverlightsamples/service3"), addressHeaders2) Dim addressHeaderCollection2 As AddressHeaderCollection = endpointAddressWithHeaders.Headers
Show: