Share via


SoapSender.Destination Property

Specifies the SOAP message receiver endpoint.

Namespace: Microsoft.Web.Services2.Messaging
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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^);
}
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 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

SoapSender Class
Microsoft.Web.Services2.Messaging Namespace

Other Resources

SoapSender Members