ClientRuntime.Via Propriedade
Definição
Obtém ou define o endereço de transporte usado para enviar mensagens por meio do cliente.Gets or sets the transport address that is used to send messages through the client.
public:
property Uri ^ Via { Uri ^ get(); void set(Uri ^ value); };
public Uri Via { get; set; }
member this.Via : Uri with get, set
Public Property Via As Uri
Valor da propriedade
Um Uri que é o endereço de destino para o transporte.A Uri that is the destination address for the transport. O valor padrão é o Uri valor do cliente.The default value is the Uri value of the client.
Comentários
Defina a Via propriedade para especificar um endereço de transporte para mensagens quando o destino imediato das mensagens não for o do cliente Uri .Set the Via property to specify a transport address for messages when the immediate destination of messages is not the client's Uri. Isso permite que você especifique intermediários SOAP e manipule cenários nos quais o valor da Uri Propriedade do cliente é um nome lógico.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.
É esse o valor que os System.ServiceModel.Description.ClientViaBehavior conjuntos de um arquivo de configuração.It is this value that the System.ServiceModel.Description.ClientViaBehavior sets from a configuration file.