Share via


AddressingHeaders.RelatesTo Property

Gets or sets the unique identifier of a message that is related to the current message.

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

Usage

'Usage
Dim addressingHeaders1 As AddressingHeaders

Dim returnValue As RelatesTo
returnValue = addressingHeaders1.RelatesTo

Dim sampleValue As RelatesTo
addressingHeaders1.RelatesTo = sampleValue

Syntax

'Declaration
Public Property RelatesTo() As RelatesTo
public RelatesTo RelatesTo {get; set;}
public:
property RelatesTo^ RelatesTo {
    RelatesTo^ get();
    void set(RelatesTo^ value);
}
public RelatesTo get_RelatesTo();
public void set_RelatesTo(RelatesTo);
public function get RelatesTo() : RelatesTo;
public function set RelatesTo(RelatesTo);

Property Value

A RelatesTo that represents the <RelatesTo> header.

Remarks

For a complete description of the <RelatesTo> element, see the WS-Addressing specification (https://msdn.microsoft.com/library/en-us/dnglobspec/html/ws-addressing.asp).

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

AddressingHeaders Class
AddressingHeaders Members
Microsoft.Web.Services3.Addressing Namespace