INotificationTargetStorage.Read(String, 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.
Read one notification target by its key.
public System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationReference> Read (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member Read : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationReference>
Public Function Read (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConversationReference)
Parameters
- key
- String
The target key
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The target, or null if not found.