Gets or sets the IDispatchOperationSelector object that controls the selection of a destination DispatchOperation for a particular message.
Public Property OperationSelector As IDispatchOperationSelector
Dim instance As DispatchRuntime Dim value As IDispatchOperationSelector value = instance.OperationSelector instance.OperationSelector = value
public IDispatchOperationSelector OperationSelector { get; set; }
public: property IDispatchOperationSelector^ OperationSelector { IDispatchOperationSelector^ get (); void set (IDispatchOperationSelector^ value); }
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