Share via


WebServicesClientProtocol.Destination Property

Gets or sets the endpoint of the SOAP message recipient.

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

Usage

'Usage
Dim webServicesClientProtocol1 As WebServicesClientProtocol

Dim returnValue As EndpointReference
returnValue = webServicesClientProtocol1.Destination

Dim sampleValue As EndpointReference
webServicesClientProtocol1.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

An EndpointReference that specifies the SOAP message recipient.

Exceptions

Exception type Condition
ArgumentNullException

The Destination property is set to null.

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

WebServicesClientProtocol Class
WebServicesClientProtocol Members
Microsoft.Web.Services3 Namespace