ConfigurationElementInterceptor::OnDeserializeUnrecognizedAttribute Method (String^, String^)
.NET Framework (current version)
Gets a value that indicates whether an unknown attribute is encountered during deserialization. Always returns true.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
protected: virtual bool OnDeserializeUnrecognizedAttribute( String^ name, String^ value ) override
Parameters
- name
-
Type:
System::String^
The name of the unrecognized attribute.
- value
-
Type:
System::String^
The value of the unrecognized attribute.
Return Value
Type: System::BooleanAlways returns true, which indicates that an unrecognized attribute has been encountered.
The ConfigurationElementInterceptor class is specifically implemented to handle arbitrary, user-defined attributes and elements. For this reason, this method returns true when the .NET Framework detects an unrecognized element or attribute to keep the parser running.
.NET Framework
Available since 4.5
Available since 4.5
Show: