WebServicesClientProtocol.Destination Property

Gets or sets the endpoint of the SOAP message recipient.

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

WebServicesClientProtocol Class
Microsoft.Web.Services2 Namespace

Other Resources

WebServicesClientProtocol Members