XmlSerializationWriter.CreateInvalidChoiceIdentifierValueException Yöntem

Tanım

InvalidOperationException XML Şeması choice öğesi bildiriminin uygulandığı bir dizi yazarken hata olduğunu belirten bir oluşturur.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

protected:
 Exception ^ CreateInvalidChoiceIdentifierValueException(System::String ^ type, System::String ^ identifier);
protected Exception CreateInvalidChoiceIdentifierValueException(string type, string identifier);
member this.CreateInvalidChoiceIdentifierValueException : string * string -> Exception
Protected Function CreateInvalidChoiceIdentifierValueException (type As String, identifier As String) As Exception

Parametreler

type
String

Seri hale getirilen tür.

identifier
String

Öğe bildirimi için bir choice ad.

Döndürülenler

Yeni oluşturulan özel durum.

Açıklamalar

XmlSerializationWriter korumalı üyeleri yalnızca .NET Framework XML serileştirme altyapısı içinde dahili olarak kullanılan türetilmiş sınıflar tarafından kullanılmak üzere tasarlanmıştır.

Şunlara uygulanır