VoiceCommandDefinitionManager.InstallCommandDefinitionsFromStorageFileAsync 메서드

정의

VCD(음성 명령 정의) 파일에 CommandSet 요소를 설치합니다.

public:
 static IAsyncAction ^ InstallCommandDefinitionsFromStorageFileAsync(StorageFile ^ file);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction InstallCommandDefinitionsFromStorageFileAsync(StorageFile const& file);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction InstallCommandDefinitionsFromStorageFileAsync(StorageFile file);
function installCommandDefinitionsFromStorageFileAsync(file)
Public Shared Function InstallCommandDefinitionsFromStorageFileAsync (file As StorageFile) As IAsyncAction

매개 변수

file
StorageFile

VCD(음성 명령 정의) 파일을 나타내는 개체입니다.

반환

작업이 완료되면 비동기 처리기가 호출됩니다.

특성

설명

OnLaunched 재정의 또는 다시 시작 이벤트 처리기에서만 이 메서드를 호출합니다.

작업이 앱 일시 중단에 대해 시스템에 할당된 시간보다 오래 걸릴 수 있으므로 Suspending 이벤트 처리기에서 이 메서드를 호출하지 마세요.

적용 대상

추가 정보