ConfigurationElement.OnRequiredPropertyNotFound(String) ConfigurationElement.OnRequiredPropertyNotFound(String) ConfigurationElement.OnRequiredPropertyNotFound(String) ConfigurationElement.OnRequiredPropertyNotFound(String) Method

定义

找不到所需属性时引发异常。Throws an exception when a required property is not found.

protected:
 virtual System::Object ^ OnRequiredPropertyNotFound(System::String ^ name);
protected virtual object OnRequiredPropertyNotFound (string name);
abstract member OnRequiredPropertyNotFound : string -> obj
override this.OnRequiredPropertyNotFound : string -> obj
Protected Overridable Function OnRequiredPropertyNotFound (name As String) As Object

参数

name
String String String String

找不到所需特性的名称。The name of the required attribute that was not found.

返回

无。None.

异常

注解

反序列化对象时遇到未知属性时调用。 ConfigurationElement OnDeserializeUnrecognizedElementThe OnDeserializeUnrecognizedElement is invoked when an unknown attribute is encountered while deserializing the ConfigurationElement object.

适用于