[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]
HRESULT SetConfidenceThreshold(
long lConfidence // Confidence setting for Command
);
設定 Command的 Confidence 屬性值。
- 傳回S_OK,表示作業成功。
-
lConfidence
-
CommandConfidence 屬性的值。
如果傳回之 Command 事件中傳回之最符合的信賴值未超過 ConfidenceThreshold 屬性所設定的值,則會在 [接聽提示] 中顯示 SetConfidenceText 中提供的文字。
另請參閱
IAgentCommand::GetConfidenceThreshold、IAgentCommand::SetConfidenceText、IAgentUserInput::GetItemConfidence