Scorable.TryPostAsync<Item,Score> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Invoquez le protocole d’appel notable contre un seul scoreable.
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)
Paramètres de type
- Item
- Score
Paramètres
- scorable
- IScorable<Item,Score>
- item
- Item
- token
- CancellationToken