Share via


IAgentCommand::SetConfidenceThreshold

[Microsoft 에이전트는 Windows 7을 기준으로 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다.]

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

CommandConfidence 속성 값을 설정합니다.

  • 작업이 성공했음을 나타내는 S_OK 반환합니다.

lConfidence

CommandConfidence 속성 값입니다.

Command 이벤트에서 반환된 최적 일치 항목의 신뢰도 값이 ConfidenceThreshold 속성에 설정된 값을 초과하지 않으면 SetConfidenceText에 제공된 텍스트가 수신 대기 팁에 표시됩니다.

참고 항목

IAgentCommand::GetConfidenceThreshold, IAgentCommand::SetConfidenceText, IAgentUserInput::GetItemConfidence