MessageFormatterEnumerableTracker.GetToken<T> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由生成器用来向给定 IAsyncEnumerable<T>的句柄分配句柄。
public long GetToken<T>(System.Collections.Generic.IAsyncEnumerable<T> enumerable);
member this.GetToken : System.Collections.Generic.IAsyncEnumerable<'T> -> int64
Public Function GetToken(Of T) (enumerable As IAsyncEnumerable(Of T)) As Long
类型参数
- T
枚举生成的值的类型。
参数
- enumerable
- IAsyncEnumerable<T>
要为其分配句柄的枚举。
返回
分配的句柄。