XmlSerializationWriter.CreateInvalidChoiceIdentifierValueException Yöntem

Tanım

InvalidOperationException XML Şema 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 choice bir ad.

Döndürülenler

Exception

Yeni oluşturulan özel durum.

Açıklamalar

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

Şunlara uygulanır