ClientRuntime.OperationSelector Propriedade
Definição
Obtém ou define uma implementação de IClientOperationSelector que pode ser usada para selecionar um ClientOperation.Gets or sets an IClientOperationSelector implementation that can be used to select a ClientOperation.
public:
property System::ServiceModel::Dispatcher::IClientOperationSelector ^ OperationSelector { System::ServiceModel::Dispatcher::IClientOperationSelector ^ get(); void set(System::ServiceModel::Dispatcher::IClientOperationSelector ^ value); };
public System.ServiceModel.Dispatcher.IClientOperationSelector OperationSelector { get; set; }
member this.OperationSelector : System.ServiceModel.Dispatcher.IClientOperationSelector with get, set
Public Property OperationSelector As IClientOperationSelector
Valor da propriedade
Um IClientOperationSelector objeto que seleciona um ClientOperation .An IClientOperationSelector object that selects a ClientOperation.
Comentários
Use a OperationSelector propriedade para modificar a seleção de uma operação quando um cliente invoca um método específico.Use the OperationSelector property to modify the selection of an operation when a client invokes a particular method. O algoritmo padrão é usar o nome do Name método de operação como uma chave para localizar o ClientOperation na Operations coleção.The default algorithm is to use the name of the Name of the operation method as a key to find the ClientOperation in the Operations collection. Se nenhum ClientOperation objeto correspondente for encontrado, a invocação será expedida para o ClientOperation objeto retornado da UnhandledClientOperation propriedade.If no matching ClientOperation object is found, the invocation is dispatched to the ClientOperation object returned from the UnhandledClientOperation property.