This documentation is archived and is not being maintained.

ClientRuntime.Via Property

Gets or sets the transport address that is used to send messages through the client.

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public Uri Via { get; set; }

Property Value

Type: System.Uri
A Uri that is the destination address for the transport. The default value is the Uri value of the client.

Set the Via property to specify a transport address for messages when the immediate destination of messages is not the client's Uri. This enables you to specify SOAP intermediaries and handle scenarios in which the value of the Uri property of the client is a logical name.

It is this value that the System.ServiceModel.Description.ClientViaBehavior sets from a configuration file.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0