Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 OperationSelector Property
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DispatchRuntime..::.OperationSelector Property

Gets or sets the IDispatchOperationSelector object that controls the selection of a destination DispatchOperation for a particular message.

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
Visual Basic (Declaration)
Public Property OperationSelector As IDispatchOperationSelector
Visual Basic (Usage)
Dim instance As DispatchRuntime
Dim value As IDispatchOperationSelector

value = instance.OperationSelector

instance.OperationSelector = value
C#
public IDispatchOperationSelector OperationSelector { get; set; }
Visual C++
public:
property IDispatchOperationSelector^ OperationSelector {
    IDispatchOperationSelector^ get ();
    void set (IDispatchOperationSelector^ value);
}
JScript
public function get OperationSelector () : IDispatchOperationSelector
public function set OperationSelector (value : IDispatchOperationSelector)

Use the OperationSelector property to decide which operation receives a given message. The default operation selector returns the value of the action header for the message, which is used as the key to locate the correct DispatchOperation. If no matching operation is found, the invocation is dispatched to the return value from the UnhandledDispatchOperation property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker