Share via


INotificationTargetStorage.Write Method

Definition

Write one notification target by its key.

public System.Threading.Tasks.Task Write (string key, Microsoft.Bot.Schema.ConversationReference reference, System.Threading.CancellationToken cancellationToken = default);
abstract member Write : string * Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function Write (key As String, reference As ConversationReference, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

key
String

The target key.

reference
ConversationReference

The target object.

cancellationToken
CancellationToken

The cancellation token.

Returns

The task object representing the asynchronous operation.

Applies to