XmlSerializationWriter.CreateChoiceIdentifierValueException(String, String, String, String) Método
Definição
Cria um InvalidOperationException que indica um nome inesperado de um elemento que segue uma declaração do elemento choice do esquema XML.Creates an InvalidOperationException that indicates an unexpected name for an element that adheres to an XML Schema choice element declaration.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
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
Parâmetros
- value
- String
O nome que não é válido.The name that is not valid.
- identifier
- String
A declaração do elemento choice ao qual o nome pertence.The choice element declaration that the name belongs to.
- name
- String
O nome local esperado de um elemento.The expected local name of an element.
- ns
- String
O namespace esperado de um elemento.The expected namespace of an element.
Retornos
A exceção recém-criada.The newly created exception.
Comentários
Os membros protegidos do XmlSerializationWriter são destinados para uso somente por classes derivadas que são usadas internamente dentro da infraestrutura de serialização de .NET Framework XML.The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.