ReplyTo Class
Identifies the intended receiver for replies to a message.
Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim address As Address
Dim replyTo1 As New ReplyTo(address)
Syntax
'Declaration
Public Class ReplyTo
Inherits EndpointReference
public class ReplyTo : EndpointReference
public ref class ReplyTo : public EndpointReference
public class ReplyTo extends EndpointReference
public class ReplyTo extends EndpointReference
Remarks
If a SOAP message is sent using SOAP Messaging, the response to the SOAP message is sent according to the following rules:
If the call to the Web service is successful, the response is sent to the ReplyTo address, if present. If a fault is generated by the Web service, then the response is sent to the FaultTo address, if present.
If the ReplyTo and FaultTo addresses are not specified, then the response to the SOAP message is sent to the Via address specified in the From object associated with the call to the Web service, if present.
If the Via address is not set, then the response to the SOAP message is sent to the Address specified in the From object associated with the call to the Web service.
The ReplyTo class corresponds to the <ReplyTo> element described in the WS-Addressing specification (https://msdn.microsoft.com/library/en-us/dnglobspec/html/ws-addressing.asp).
Inheritance Hierarchy
System.Object
Microsoft.Web.Services2.Xml.OpenElementElement
Microsoft.Web.Services2.Xml.OpenElement
Microsoft.Web.Services2.Addressing.EndpointReference
Microsoft.Web.Services2.Addressing.ReplyTo
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
Microsoft.Web.Services2.Addressing Namespace