Share via


To Class

Specifies the destination endpoint of a message.

Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim address As Address
Dim to1 As New To(address)

Syntax

'Declaration
Public Class To
    Inherits OpenAttributeUriElement
    Implements IXmlElement, ICloneable
public class To : OpenAttributeUriElement, IXmlElement, ICloneable
public ref class To : public OpenAttributeUriElement, IXmlElement, ICloneable
public class To extends OpenAttributeUriElement implements IXmlElement, ICloneable
public class To extends OpenAttributeUriElement implements IXmlElement, , ICloneable

Remarks

The To class corresponds to the <To> 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.OpenAttributeElement
     Microsoft.Web.Services2.Xml.OpenAttributeUriElement
      Microsoft.Web.Services2.Addressing.To

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

Other Resources

To Members