Udostępnij za pośrednictwem


IClientOperationSelector Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the contract for an operation selector.

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

Syntax

'Declaration
Public Interface IClientOperationSelector
public interface IClientOperationSelector

The IClientOperationSelector type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone AreParametersRequiredForSelection Gets a value that indicates whether parameters are required to determine the selection.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone SelectOperation Returns the selected operation.

Top

Remarks

Implement the IClientOperationSelector interface to create a custom operation selector that can be attached to the OperationSelector property to choose contract operations to invoke based upon the proxy method called.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.