SpeechTranslationConfig.FromSubscription(String, String) メソッド

定義

指定したサブスクリプション キーとリージョンを使用して音声翻訳構成のインスタンスを作成します。

public static Microsoft.CognitiveServices.Speech.SpeechTranslationConfig FromSubscription (string subscriptionKey, string region);
static member FromSubscription : string * string -> Microsoft.CognitiveServices.Speech.SpeechTranslationConfig
Public Shared Function FromSubscription (subscriptionKey As String, region As String) As SpeechTranslationConfig

パラメーター

subscriptionKey
String

サブスクリプション キー。 キーとリージョンを作成または検索するには、「 キーとリージョンを検索する」を参照してください。

region
String

指定されたサブスクリプション キーのリージョン識別子。

戻り値

音声構成インスタンス。

適用対象