語言

Scorable.TryPostAsync<Item,Score> 方法

定義

對單一可評分的呼叫協議執行可評分協議。

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)

類型參數

Item
Score

參數

item
Item

傳回

適用於