MessageFormatterEnumerableTracker.CanSerialize(Type) 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.
Checks if a given Type implements IAsyncEnumerable<T>.
public static bool CanSerialize (Type objectType);
static member CanSerialize : Type -> bool
Public Shared Function CanSerialize (objectType As Type) As Boolean
Parameters
- objectType
- Type
The type which may implement IAsyncEnumerable<T>.
Returns
true if given Type implements IAsyncEnumerable<T>; otherwise, false.