-
Notifications
You must be signed in to change notification settings - Fork 260
/
Connection.xml
420 lines (420 loc) · 26.5 KB
/
Connection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<Type Name="Connection" FullName="Microsoft.CognitiveServices.Speech.Connection">
<TypeSignature Language="C#" Value="public sealed class Connection : IDisposable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit Connection extends System.Object implements class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Microsoft.CognitiveServices.Speech.Connection" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class Connection
Implements IDisposable" />
<TypeSignature Language="F#" Value="type Connection = class
 interface IDisposable" />
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.16.0.28</AssemblyVersion>
<AssemblyVersion>1.17.0.28</AssemblyVersion>
<AssemblyVersion>1.18.0.28</AssemblyVersion>
<AssemblyVersion>1.19.0.28</AssemblyVersion>
<AssemblyVersion>1.20.0.28</AssemblyVersion>
<AssemblyVersion>1.21.0.28</AssemblyVersion>
<AssemblyVersion>1.22.0.28</AssemblyVersion>
<AssemblyVersion>1.23.0.28</AssemblyVersion>
<AssemblyVersion>1.24.0.28</AssemblyVersion>
<AssemblyVersion>1.24.1.28</AssemblyVersion>
<AssemblyVersion>1.25.1.26</AssemblyVersion>
<AssemblyVersion>1.27.0.28</AssemblyVersion>
<AssemblyVersion>1.28.0.28</AssemblyVersion>
<AssemblyVersion>1.30.0.28</AssemblyVersion>
<AssemblyVersion>1.31.0.28</AssemblyVersion>
<AssemblyVersion>1.32.1.28</AssemblyVersion>
<AssemblyVersion>1.34.0.28</AssemblyVersion>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
A proxy class for managing connection to the speech service of the specified Recognizer. Added in 1.2.0
</summary>
<remarks>
By default, a Recognizer autonomously manages connection to service when needed.
The Connection class provides additional methods you can use to explicitly open or close a connection and
to subscribe to connection status changes.
The use of Connection is optional. It is intended for scenarios where fine tuning of application
behavior based on connection status is needed. You can optionally call Open() to manually
initiate a service connection before starting recognition on the Recognizer associated with this Connection.
After starting a recognition, calling Open() or Close() might fail. This will not impact
the Recognizer or the ongoing recognition. Connection might drop for various reasons, the Recognizer will
always try to reinstitute the connection as required to guarantee ongoing operations. In all these cases
Connected/Disconnected events will indicate the change of the connection status.
</remarks>
</Docs>
<Members>
<Member MemberName="Close">
<MemberSignature Language="C#" Value="public void Close ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Close() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.Close" />
<MemberSignature Language="VB.NET" Value="Public Sub Close ()" />
<MemberSignature Language="F#" Value="member this.Close : unit -> unit" Usage="connection.Close " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Closes the connection the service.
You can optionally call Close() to manually shutdown the connection of the associated Recognizer.
The call might fail, depending on the process state of the Recognizer. But the failure does not affect the state of the
associated Recognizer.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Connected">
<MemberSignature Language="C#" Value="public event EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> Connected;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class Microsoft.CognitiveServices.Speech.ConnectionEventArgs> Connected" />
<MemberSignature Language="DocId" Value="E:Microsoft.CognitiveServices.Speech.Connection.Connected" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Connected As EventHandler(Of ConnectionEventArgs) " />
<MemberSignature Language="F#" Value="member this.Connected : EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> " Usage="member this.Connected : System.EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs></ReturnType>
</ReturnValue>
<Docs>
<summary>
The Connected event to indicate that the recognizer is connected to service.
In order to receive the Connected event after subscribing to it, the Connection object itself needs to be alive.
If the Connection object owning this event is out of its life time, all subscribed events won't be delivered.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Disconnected">
<MemberSignature Language="C#" Value="public event EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> Disconnected;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class Microsoft.CognitiveServices.Speech.ConnectionEventArgs> Disconnected" />
<MemberSignature Language="DocId" Value="E:Microsoft.CognitiveServices.Speech.Connection.Disconnected" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Disconnected As EventHandler(Of ConnectionEventArgs) " />
<MemberSignature Language="F#" Value="member this.Disconnected : EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> " Usage="member this.Disconnected : System.EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs></ReturnType>
</ReturnValue>
<Docs>
<summary>
The Disconnected event to indicate that the recognizer is disconnected from service.
In order to receive the Disconnected event after subscribing to it, the Connection object itself needs to be alive.
If the Connection object owning this event is out of its life time, all subscribed events won't be delivered.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="public void Dispose ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.Dispose" />
<MemberSignature Language="VB.NET" Value="Public Sub Dispose ()" />
<MemberSignature Language="F#" Value="abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit" Usage="connection.Dispose " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IDisposable.Dispose</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Dispose of associated resources.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~Connection ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.Finalize" />
<MemberSignature Language="VB.NET" Value="Finalize ()" />
<MemberSignature Language="F#" Value="override this.Finalize : unit -> unit" Usage="connection.Finalize " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromConversationTranslator">
<MemberSignature Language="C#" Value="public static Microsoft.CognitiveServices.Speech.Connection FromConversationTranslator (Microsoft.CognitiveServices.Speech.Transcription.ConversationTranslator convTrans);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.CognitiveServices.Speech.Connection FromConversationTranslator(class Microsoft.CognitiveServices.Speech.Transcription.ConversationTranslator convTrans) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.FromConversationTranslator(Microsoft.CognitiveServices.Speech.Transcription.ConversationTranslator)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function FromConversationTranslator (convTrans As ConversationTranslator) As Connection" />
<MemberSignature Language="F#" Value="static member FromConversationTranslator : Microsoft.CognitiveServices.Speech.Transcription.ConversationTranslator -> Microsoft.CognitiveServices.Speech.Connection" Usage="Microsoft.CognitiveServices.Speech.Connection.FromConversationTranslator convTrans" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.CognitiveServices.Speech.Connection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="convTrans" Type="Microsoft.CognitiveServices.Speech.Transcription.ConversationTranslator" />
</Parameters>
<Docs>
<param name="convTrans">The conversation translator associated with the connection.</param>
<summary>
Gets the Connection instance from the conversation translator.
</summary>
<returns>The Connection instance of the conversation translator.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromDialogServiceConnector">
<MemberSignature Language="C#" Value="public static Microsoft.CognitiveServices.Speech.Connection FromDialogServiceConnector (Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector dialogServiceConnector);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.CognitiveServices.Speech.Connection FromDialogServiceConnector(class Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector dialogServiceConnector) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.FromDialogServiceConnector(Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function FromDialogServiceConnector (dialogServiceConnector As DialogServiceConnector) As Connection" />
<MemberSignature Language="F#" Value="static member FromDialogServiceConnector : Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector -> Microsoft.CognitiveServices.Speech.Connection" Usage="Microsoft.CognitiveServices.Speech.Connection.FromDialogServiceConnector dialogServiceConnector" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.CognitiveServices.Speech.Connection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dialogServiceConnector" Type="Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector" />
</Parameters>
<Docs>
<param name="dialogServiceConnector">The dialog service connector associated with the connection.</param>
<summary>
Gets the Connection instance from the specified dialog service connector, used for observing and managing
connection and disconnection from the speech service.
</summary>
<returns>The Connection instance of the dialog service connector.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromRecognizer">
<MemberSignature Language="C#" Value="public static Microsoft.CognitiveServices.Speech.Connection FromRecognizer (Microsoft.CognitiveServices.Speech.Recognizer recognizer);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.CognitiveServices.Speech.Connection FromRecognizer(class Microsoft.CognitiveServices.Speech.Recognizer recognizer) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.FromRecognizer(Microsoft.CognitiveServices.Speech.Recognizer)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function FromRecognizer (recognizer As Recognizer) As Connection" />
<MemberSignature Language="F#" Value="static member FromRecognizer : Microsoft.CognitiveServices.Speech.Recognizer -> Microsoft.CognitiveServices.Speech.Connection" Usage="Microsoft.CognitiveServices.Speech.Connection.FromRecognizer recognizer" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.CognitiveServices.Speech.Connection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="recognizer" Type="Microsoft.CognitiveServices.Speech.Recognizer" />
</Parameters>
<Docs>
<param name="recognizer">The recognizer associated with the connection.</param>
<summary>
Gets the Connection instance from the specified recognizer.
</summary>
<returns>The Connection instance of the recognizer.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromSpeechSynthesizer">
<MemberSignature Language="C#" Value="public static Microsoft.CognitiveServices.Speech.Connection FromSpeechSynthesizer (Microsoft.CognitiveServices.Speech.SpeechSynthesizer speechSynthesizer);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.CognitiveServices.Speech.Connection FromSpeechSynthesizer(class Microsoft.CognitiveServices.Speech.SpeechSynthesizer speechSynthesizer) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.FromSpeechSynthesizer(Microsoft.CognitiveServices.Speech.SpeechSynthesizer)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function FromSpeechSynthesizer (speechSynthesizer As SpeechSynthesizer) As Connection" />
<MemberSignature Language="F#" Value="static member FromSpeechSynthesizer : Microsoft.CognitiveServices.Speech.SpeechSynthesizer -> Microsoft.CognitiveServices.Speech.Connection" Usage="Microsoft.CognitiveServices.Speech.Connection.FromSpeechSynthesizer speechSynthesizer" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.CognitiveServices.Speech.Connection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="speechSynthesizer" Type="Microsoft.CognitiveServices.Speech.SpeechSynthesizer" />
</Parameters>
<Docs>
<param name="speechSynthesizer">The speech synthesizer associated with the connection.</param>
<summary>
Gets the Connection instance from the specified speech synthesizer, used for observing and managing
connection and disconnection from the speech service.
Added in version 1.17.0
</summary>
<returns>The Connection instance of the speech synthesizer.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MessageReceived">
<MemberSignature Language="C#" Value="public event EventHandler<Microsoft.CognitiveServices.Speech.ConnectionMessageEventArgs> MessageReceived;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class Microsoft.CognitiveServices.Speech.ConnectionMessageEventArgs> MessageReceived" />
<MemberSignature Language="DocId" Value="E:Microsoft.CognitiveServices.Speech.Connection.MessageReceived" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MessageReceived As EventHandler(Of ConnectionMessageEventArgs) " />
<MemberSignature Language="F#" Value="member this.MessageReceived : EventHandler<Microsoft.CognitiveServices.Speech.ConnectionMessageEventArgs> " Usage="member this.MessageReceived : System.EventHandler<Microsoft.CognitiveServices.Speech.ConnectionMessageEventArgs> " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler<Microsoft.CognitiveServices.Speech.ConnectionMessageEventArgs></ReturnType>
</ReturnValue>
<Docs>
<summary>
The MessageReceived event indicates that the service has sent a network message to the client.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Open">
<MemberSignature Language="C#" Value="public void Open (bool forContinuousRecognition);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Open(bool forContinuousRecognition) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.Open(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub Open (forContinuousRecognition As Boolean)" />
<MemberSignature Language="F#" Value="member this.Open : bool -> unit" Usage="connection.Open forContinuousRecognition" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="forContinuousRecognition" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="forContinuousRecognition">Indicates whether the connection is used for continuous recognition or single-shot recognition. It takes no effect if the connection is from SpeechSynthsizer.</param>
<summary>
Starts to set up connection to the service.
You can optionally call Open() to manually set up a connection in advance before starting recognition on the
Recognizer associated with this Connection. After starting recognition, calling Open() might fail, depending on
the process state of the Recognizer. But the failure does not affect the state of the associated Recognizer.
Note: On return, the connection might not be ready yet. Please subscribe to the Connected event to
be notified when the connection is established.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SendMessageAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task SendMessageAsync (string path, string payload);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task SendMessageAsync(string path, string payload) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.SendMessageAsync(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function SendMessageAsync (path As String, payload As String) As Task" />
<MemberSignature Language="F#" Value="member this.SendMessageAsync : string * string -> System.Threading.Tasks.Task" Usage="connection.SendMessageAsync (path, payload)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
<Parameter Name="payload" Type="System.String" />
</Parameters>
<Docs>
<param name="path">The path of the message.</param>
<param name="payload">The payload of the message. This is a JSON string.</param>
<summary>
Sends a message to the Speech service as an asynchronous operation.
Added in 1.7.0
</summary>
<returns>A task representing the asynchronous operation that sends the message.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SendMessageAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task SendMessageAsync (string path, byte[] payload, uint size);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task SendMessageAsync(string path, unsigned int8[] payload, unsigned int32 size) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.SendMessageAsync(System.String,System.Byte[],System.UInt32)" />
<MemberSignature Language="VB.NET" Value="Public Function SendMessageAsync (path As String, payload As Byte(), size As UInteger) As Task" />
<MemberSignature Language="F#" Value="member this.SendMessageAsync : string * byte[] * uint32 -> System.Threading.Tasks.Task" Usage="connection.SendMessageAsync (path, payload, size)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
<Parameter Name="payload" Type="System.Byte[]" />
<Parameter Name="size" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="path">The path of the message.</param>
<param name="payload">The binary payload of the message.</param>
<param name="size">The size of the binary payload.</param>
<summary>
Sends a binary message to the speech service as an asynchronous operation.
Note: This method doesn't work for the connection of SpeechSynthesizer.
Added in 1.10.0
</summary>
<returns>A task representing the asynchronous operation that sends the message.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetMessageProperty">
<MemberSignature Language="C#" Value="public void SetMessageProperty (string path, string propertyName, string propertyValue);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetMessageProperty(string path, string propertyName, string propertyValue) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CognitiveServices.Speech.Connection.SetMessageProperty(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetMessageProperty (path As String, propertyName As String, propertyValue As String)" />
<MemberSignature Language="F#" Value="member this.SetMessageProperty : string * string * string -> unit" Usage="connection.SetMessageProperty (path, propertyName, propertyValue)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CognitiveServices.Speech.csharp</AssemblyName>
<AssemblyVersion>1.38.0.28</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
<Parameter Name="propertyName" Type="System.String" />
<Parameter Name="propertyValue" Type="System.String" />
</Parameters>
<Docs>
<param name="path">The path of the network message.</param>
<param name="propertyName">Name of the property.</param>
<param name="propertyValue">Value of the property. This is a JSON string.</param>
<summary>
Appends a parameter in a message to service.
Added in 1.7.0
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>