語言

MessageFormatterEnumerableTracker.CanDeserialize(Type) 方法

定義

檢查給定 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>真;否則為假。

適用於