OperationSelector Property

ClientRuntime.OperationSelector Property

Gets or sets a IClientOperationSelector implementation that can be used to select a ClientOperation.

Namespace: System.ServiceModel.Dispatcher
Assembly: System.ServiceModel (in system.servicemodel.dll)

public IClientOperationSelector OperationSelector { get; set; }
/** @property */
public IClientOperationSelector get_OperationSelector ()

/** @property */
public void set_OperationSelector (IClientOperationSelector value)

public function get OperationSelector () : IClientOperationSelector

public function set OperationSelector (value : IClientOperationSelector)

Not applicable.

Property Value

An IClientOperationSelector object that selects a ClientOperation.

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2016 Microsoft