MessageFormatterEnumerableTracker.CanDeserialize(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查给定 Type 是否完全基于 IAsyncEnumerable<T>一些封闭泛型类型。
public static bool CanDeserialize (Type objectType);
static member CanDeserialize : Type -> bool
Public Shared Function CanDeserialize (objectType As Type) As Boolean
参数
- objectType
- Type
可能为 IAsyncEnumerable<T>. 的类型。
返回
如果给定 Type 为 IAsyncEnumerable<T>true,则为 true;否则为 false。