Share via


INotificationTargetStorage.List(CancellationToken) Method

Definition

List all stored notification targets.

public System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationReference[]> List (System.Threading.CancellationToken cancellationToken = default);
abstract member List : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationReference[]>
Public Function List (Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConversationReference())

Parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

An array of notification target. Or an empty array if nothing is stored.

Applies to