XmlSerializationWriter.CreateInvalidEnumValueException(Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an InvalidOperationException for an invalid enumeration value.
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
Exception ^ CreateInvalidEnumValueException(System::Object ^ value, System::String ^ typeName);
protected Exception CreateInvalidEnumValueException (object value, string typeName);
member this.CreateInvalidEnumValueException : obj * string -> Exception
Protected Function CreateInvalidEnumValueException (value As Object, typeName As String) As Exception
Parameters
- value
- Object
An object that represents the invalid enumeration.
- typeName
- String
The XML type name.
Returns
The newly created exception.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.