Share via


Scorable.TryPostAsync<Item,Score> Method

Definition

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

item
Item

Returns

Applies to