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

Connection.SetMessageProperty(String, String, String) 方法

定义

将消息中的参数追加到服务。 注意:此方法不适用于 SpeechSynthesizer 的连接。 在 1.7.0 中添加

public void SetMessageProperty (string path, string propertyName, string propertyValue);
member this.SetMessageProperty : string * string * string -> unit
Public Sub SetMessageProperty (path As String, propertyName As String, propertyValue As String)

参数

path
String

网络消息的路径。

propertyName
String

属性的名称。

propertyValue
String

属性的名称。 这是一个 JSON 字符串。

适用于