Share via


SoapContext.Addressing Property

Represents the WS-Addressing SOAP headers for the SoapContext.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim soapContext1 As SoapContext

Dim returnValue As AddressingHeaders
returnValue = soapContext1.Addressing

Dim sampleValue As AddressingHeaders
soapContext1.Addressing = sampleValue

Syntax

'Declaration
Public Property Addressing() As AddressingHeaders
public AddressingHeaders Addressing {get; set;}
public:
property AddressingHeaders^ Addressing {
    AddressingHeaders^ get();
    void set(AddressingHeaders^ value);
}
public AddressingHeaders get_Addressing();
public void set_Addressing(AddressingHeaders);
public function get Addressing() : AddressingHeaders;
public function set Addressing(AddressingHeaders);

Property Value

An AddressingHeaders that represents the WS-Addressing SOAP headers for the current SOAP message.

Remarks

When you set the AddressingHeaders.MustUnderstand property for a SoapContext, it affects the value of the mustUnderstand attribute for all WS-Addressing SOAP headers in the associated SOAP message.

For a complete description of WS-Addressing elements, see the WS-Addressing specification on https://msdn.microsoft.com/webservices.

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapContext Class
SoapContext Members
Microsoft.Web.Services3 Namespace