MessageFormatterEnumerableTracker.GetToken<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used by the generator to assign a handle to the given 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
Type Parameters
- T
The type of value that is produced by the enumerable.
Parameters
- enumerable
- IAsyncEnumerable<T>
The enumerable to assign a handle to.
Returns
The handle that was assigned.