Megosztás a következőn keresztül:


CustomCommandsConfig.FromSubscription(String, String, String) Method

Definition

Creates an instance of the dialog service configuration with the specified Custom Commands application id, subscription and region.

public static Microsoft.CognitiveServices.Speech.Dialog.CustomCommandsConfig FromSubscription (string applicationId, string subscription, string region);
static member FromSubscription : string * string * string -> Microsoft.CognitiveServices.Speech.Dialog.CustomCommandsConfig
Public Shared Function FromSubscription (applicationId As String, subscription As String, region As String) As CustomCommandsConfig

Parameters

applicationId
String

Custom Commands application id.

subscription
String

Subscription key associated with the application.

region
String

Region identifier for the subscription key associated with the application.

Returns

A new Custom Commands config.

Applies to