XmlSerializationWriter.CreateChoiceIdentifierValueException 메서드

정의

XML 스키마 choice 요소 선언을 따르는 요소에 대한 예기치 못한 이름을 나타내는 InvalidOperationException을 만듭니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

매개 변수

value
String

유효하지 않은 이름입니다.

identifier
String

이 이름이 속한 choice 요소 선언입니다.

name
String

요소의 예상되는 로컬 이름입니다.

ns
String

요소의 예상 네임스페이스입니다.

반환

새로 만들어진 예외입니다.

설명

XmlSerializationWriter 보호된 멤버는 .NET Framework XML serialization 인프라 내에서 내부적으로 사용되는 파생 클래스에서만 사용하기 위한 것입니다.

적용 대상