ConfigurationElement.OnRequiredPropertyNotFound(String) 方法

定义

在找不到所需属性时引发异常。

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

找不到所需的属性的名称。

返回

例外

在所有情况下。

注解

OnDeserializeUnrecognizedElement反序列化对象时遇到未知属性时,将调用该ConfigurationElement属性。

适用于