Delen via


Scorable.TryPostAsync<Item,Score> Methode

Definitie

Roep het scorable-aanroepprotocol aan tegen één 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

Retouren

Van toepassing op