VoiceLiveSession.ReceiveUpdatesAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Receives updates from the service asynchronously.
public virtual System.Collections.Generic.IAsyncEnumerable<BinaryData> ReceiveUpdatesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member ReceiveUpdatesAsync : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<BinaryData>
override this.ReceiveUpdatesAsync : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<BinaryData>
Public Overridable Function ReceiveUpdatesAsync (Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of BinaryData)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An asynchronous enumerable of binary data messages.