你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SignalRAsyncCollector<T>.AddAsync(T, CancellationToken) 方法

定义

public System.Threading.Tasks.Task AddAsync (T item, System.Threading.CancellationToken cancellationToken = default);
abstract member AddAsync : 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.AddAsync : 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AddAsync (item As T, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

item
T
cancellationToken
CancellationToken

返回

实现

Microsoft.Azure.WebJobs.IAsyncCollector`1.AddAsync(`0,System.Threading.CancellationToken)

适用于