JsonMetadataServices.GetUnsupportedTypeConverter<T> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個類型轉換器,會拋出一個 NotSupportedException。
public:
generic <typename T>
static System::Text::Json::Serialization::JsonConverter<T> ^ GetUnsupportedTypeConverter();
public static System.Text.Json.Serialization.JsonConverter<T> GetUnsupportedTypeConverter<T>();
static member GetUnsupportedTypeConverter : unit -> System.Text.Json.Serialization.JsonConverter<'T>
Public Shared Function GetUnsupportedTypeConverter(Of T) () As JsonConverter(Of T)
類型參數
- T
這是該類型的通用定義。
傳回
一個 JsonConverter<T> 讓 NotSupportedException
備註
此 API 供 System.Text.Json 原始碼產生器的輸出使用,不應直接呼叫。