ClientRuntime.OperationSelector 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 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 物件。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應