INotificationTargetStorage.Write 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.
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.