Share via


IStreamingResponse.QueueInformativeUpdateAsync Method

Definition

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

InvalidOperationException

Throws if the stream has already ended.

Throws if the stream has already ended.

Applies to