INotificationTargetStorage.List(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.
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.