Scorable.TryPostAsync<Item,Score> 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.
Invoke the scorable calling protocol against a single scorable.
public static System.Threading.Tasks.Task<bool> TryPostAsync<Item,Score> (this Microsoft.Bot.Builder.Scorables.IScorable<Item,Score> scorable, Item item, System.Threading.CancellationToken token);
static member TryPostAsync : Microsoft.Bot.Builder.Scorables.IScorable<'Item, 'Score> * 'Item * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function TryPostAsync(Of Item, Score) (scorable As IScorable(Of Item, Score), item As Item, token As CancellationToken) As Task(Of Boolean)
Type Parameters
- Item
- Score
Parameters
- scorable
- IScorable<Item,Score>
- item
- Item
- token
- CancellationToken