Via Property

ClientRuntime.Via Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft