Share via


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

返回

适用于