Checks for unrecognized attributes and throws an ProviderException when the config contains values.

Namespace:  CuttingEdge.Logging
Assembly:  CuttingEdge.Logging (in CuttingEdge.Logging.dll)

Syntax

Visual Basic (Declaration)
Protected Sub CheckForUnrecognizedAttributes ( _
	name As String, _
	config As NameValueCollection _
)
C#
protected void CheckForUnrecognizedAttributes(
	string name,
	NameValueCollection config
)
Visual C++
protected:
void CheckForUnrecognizedAttributes(
	String^ name, 
	NameValueCollection^ config
)
JavaScript
function checkForUnrecognizedAttributes(name, config);

Parameters

name
Type: System..::.String
The friendly name of the provider.
config
Type: System.Collections.Specialized..::.NameValueCollection
A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.

Exceptions

ExceptionCondition
System.Configuration.Provider..::.ProviderExceptionThrown when the config collection is not empty.

See Also