Partager via


Via Class

Represents a via element used to specify the route a message should take.

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

Usage

'Usage
Dim value As Uri
Dim via1 As New Via(value)

Syntax

'Declaration
Public Class Via
    Inherits WSESoapHeader
    Implements ICloneable, IXmlElement
public class Via : WSESoapHeader, ICloneable, IXmlElement
public ref class Via : WSESoapHeader, ICloneable, IXmlElement
public class Via extends WSESoapHeader implements ICloneable, IXmlElement
public class Via extends WSESoapHeader implements ICloneable, , IXmlElement

Remarks

The via element is used to identify the routing receivers that a message is to go through.

Any sender is allowed to insert a via element in the message path, but should only do so for sound administrative reasons and must not insert one before another empty via element. Care should also be taken not to introduce infinite routing loops when adding such intermediaries.

The value of a via element can be either empty or explicitly specified by an absolute URI. The empty value indicates that an implicit endpoint is provided by an underlying protocol binding that establishes a bidirectional communication channel.

The list of via elements in the forward message path is ordered and this ordering must be respected during processing. The routing processors of these via elements may reside at the same physical host, but their physical location may not alter the order in which the via elements are processed.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Xml.WSESoapHeader
    Microsoft.Web.Services3.Referral.Via

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

Via Members
Microsoft.Web.Services3.Referral Namespace