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.

Namespace:   System.IdentityModel.Configuration
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected override bool OnDeserializeUnrecognizedAttribute(
	string name,
	string value
)

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.Boolean

Always 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
Return to top
Show: