Edytuj

Udostępnij za pośrednictwem


ClientRuntime.OperationSelector Property

Definition

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

Property Value

An IClientOperationSelector object that selects a ClientOperation.

Remarks

Use the OperationSelector property to modify the selection of an operation when a client invokes a particular method. 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. If no matching ClientOperation object is found, the invocation is dispatched to the ClientOperation object returned from the UnhandledClientOperation property.

Applies to