Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

<disableCachingBindingFailures> Element 

Specifies whether the caching of binding failures is disabled.


<disableCachingBindingFailures enabled="0|1"/>

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

enabled

Required attribute.

Specifies whether the caching of binding failures is disabled.

Enabled Attribute

Value Description

0

Do not disable the caching of binding failures. This is the default binding behavior in the .NET Framework version 2.0.

1

Disable the caching of binding failures. This setting reverts to the binding behavior of the .NET Framework version 1.1.

Child Elements

None.

Parent Elements

Element Description

<configuration> Element

The root element in every configuration file used by the common language runtime and .NET Framework applications.

<runtime> Element

Contains information about assembly binding and garbage collection.

In the .NET Framework version 2.0, the default behavior when binding assemblies is to cache binding failures. That is, if an attempt to load an assembly fails, later requests for the same assembly are failed immediately, without any attempt to locate the assembly.

The following code example shows how to disable the caching of assembly binding failures.

<configuration>
   <runtime>
      <disableCachingBindingFailures enabled="1" />
   </runtime>
</configuration>

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.