共用方式為


VoiceCommandServiceConnection.FromAppServiceTriggerDetails 方法

定義

AppServiceTriggerDetails擷取VoiceCommandServiceConnection物件,其中包含與 App Service 背景工作相關聯的資訊。

public:
 static VoiceCommandServiceConnection ^ FromAppServiceTriggerDetails(AppServiceTriggerDetails ^ triggerDetails);
 static VoiceCommandServiceConnection FromAppServiceTriggerDetails(AppServiceTriggerDetails const& triggerDetails);
public static VoiceCommandServiceConnection FromAppServiceTriggerDetails(AppServiceTriggerDetails triggerDetails);
function fromAppServiceTriggerDetails(triggerDetails)
Public Shared Function FromAppServiceTriggerDetails (triggerDetails As AppServiceTriggerDetails) As VoiceCommandServiceConnection

參數

triggerDetails
AppServiceTriggerDetails

包含與 App Service 背景工作相關聯的資訊。

傳回

與 Cortana的背景應用程式服務連線。

適用於

另請參閱