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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: