IStreamingResponse.QueueInformativeUpdateAsync 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.
Queues an informative update to be sent to the client.
public System.Threading.Tasks.Task QueueInformativeUpdateAsync(string text, System.Threading.CancellationToken cancellationToken = default);
abstract member QueueInformativeUpdateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function QueueInformativeUpdateAsync (text As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- text
- String
Text of the update to send.
- cancellationToken
- CancellationToken
Returns
Exceptions
Throws if the stream has already ended.
Throws if the stream has already ended.