Share via


SoapContext.Addressing Property

Represents the WS-Addressing SOAP headers for the SoapContext .

Namespace: Microsoft.Web.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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^);
}
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 Microsoft.Web.Services2.Addressing.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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SoapContext Class
Microsoft.Web.Services2 Namespace

Other Resources

SoapContext Members