你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SpeechConfig.SetServiceProperty Method

Definition

Enables preview of new service features.

public void SetServiceProperty(string name, string value, Microsoft.CognitiveServices.Speech.ServicePropertyChannel channel);
member this.SetServiceProperty : string * string * Microsoft.CognitiveServices.Speech.ServicePropertyChannel -> unit
Public Sub SetServiceProperty (name As String, value As String, channel As ServicePropertyChannel)

Parameters

name
String

The property name.

value
String

The property value.

channel
ServicePropertyChannel

The channel used to pass the specified property to service.

Remarks

Used to configure services that are in Preview, and are not yet Generally Available. This method might appear in some samples of preview services.

Applies to