SoapSender.Destination Property

Specifies the SOAP message receiver endpoint.

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

Usage

'Usage
Dim soapSender1 As SoapSender

Dim returnValue As EndpointReference
returnValue = soapSender1.Destination

Dim sampleValue As EndpointReference
soapSender1.Destination = sampleValue

Syntax

'Declaration
Public Property Destination() As EndpointReference
public EndpointReference Destination {get; set;}
public:
property EndpointReference^ Destination {
    EndpointReference^ get();
    void set(EndpointReference^ value);
}
public EndpointReference get_Destination();
public void set_Destination(EndpointReference);
public function get Destination() : EndpointReference;
public function set Destination(EndpointReference);

Property Value

The EndpointReference that represents the message destination.

Remarks

The Destination can also be set in the SoapSender constructor.

The Via property of the Destination is ignored if it is set after a new instance of the SoapSender class is created. To set the Via property, specify it in the SoapSender constructor that takes an EndpointReference.

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

SoapSender Class
SoapSender Members
Microsoft.Web.Services3.Messaging Namespace