共用方式為


ClientRuntime.OperationSelector 屬性

定義

取得或設定 IClientOperationSelector 實作,這個實作可以用來選取 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

屬性值

IClientOperationSelector 物件,此物件會選取 ClientOperation

備註

使用 OperationSelector 屬性,即可在用戶端叫用特定方法時修改作業的選取。 預設的演算法,即使用作業方法的 Name 名稱做為索引鍵來尋找 ClientOperation 集合中的 Operations。 如果找不到相符的 ClientOperation 物件,就表示引動過程已分派給 ClientOperation 屬性所傳回的 UnhandledClientOperation 物件。

適用於