XmlSerializationWriter.CreateChoiceIdentifierValueException Metodo

Definizione

Crea un oggetto InvalidOperationException che indica un nome imprevisto per un elemento conforme a una dichiarazione di elemento xml Schema choice .

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

protected:
 Exception ^ CreateChoiceIdentifierValueException(System::String ^ value, System::String ^ identifier, System::String ^ name, System::String ^ ns);
protected Exception CreateChoiceIdentifierValueException(string value, string identifier, string name, string ns);
member this.CreateChoiceIdentifierValueException : string * string * string * string -> Exception
Protected Function CreateChoiceIdentifierValueException (value As String, identifier As String, name As String, ns As String) As Exception

Parametri

value
String

Nome non valido.

identifier
String

Dichiarazione choice dell'elemento a cui appartiene il nome.

name
String

Nome locale previsto di un elemento.

ns
String

Spazio dei nomi previsto di un elemento.

Valori restituiti

Eccezione appena creata.

Commenti

I membri protetti di XmlSerializationWriter sono destinati all'uso solo da classi derivate usate internamente all'interno dell'infrastruttura di serializzazione XML di .NET Framework.

Si applica a