共用方式為


IAgentCommand::SetConfidenceThreshold

[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]

HRESULT SetConfidenceThreshold(
   long lConfidence  // Confidence setting for Command
);

設定 CommandConfidence 屬性值。

  • 傳回S_OK,表示作業成功。

lConfidence

CommandConfidence 屬性的值。

如果傳回之 Command 事件中傳回之最符合的信賴值未超過 ConfidenceThreshold 屬性所設定的值,則會在 [接聽提示] 中顯示 SetConfidenceText 中提供的文字。

另請參閱

IAgentCommand::GetConfidenceThresholdIAgentCommand::SetConfidenceTextIAgentUserInput::GetItemConfidence