共用方式為


IAgentNotifySink::RequestComplete

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

HRESULT RequestComplete(
   long dwRequestID,  // request ID
   long hrStatus      // status code
);                          

在要求完成時通知用戶端應用程式。

  • 沒有傳回值。

dwRequestID

啟動之要求的標識碼。

hrStatus

狀態代碼。 此參數會傳回要求的狀態代碼。

此事件可讓您追蹤佇列方法何時使用其要求標識碼完成。

另請參閱

IAgentNotifySink::RequestStartIAgent::LoadIAgentCharacter::GestureAtIAgentCharacter::HideIAgentCharacter::InterruptIAgentCharacter::MoveToIAgentCharacter::P repareIAgentCharacter::P layIAgentCharacter::ShowIAgentCharacter::說出IAgentCharacter::Wait