Sdílet prostřednictvím


Runtime Settings Schema

Runtime settings specify how the common language runtime handles garbage collection and the version of an assembly to use in configuration files.

<configuration>

   <runtime>

      <alwaysFlowImpersonationPolicy>

      <assemblyBinding> Element for <runtime>

         <dependentAssembly>

            <assemblyIdentity>

            <bindingRedirect>

            <codeBase>

            <publisherPolicy>

         <probing>

         <publisherPolicy>

         <qualifyAssembly>

      <developmentMode>

      <disableCachingBindingFailures>

      <gcConcurrent>

      <gcServer>

      <legacyImpersonationPolicy>

      <legacyV1CASPolicy>

Element Description

<alwaysFlowImpersonationPolicy>

Contains information about assembly version redirection and the locations of assemblies.

<assemblyBinding> Element for <runtime>

Contains information about assembly version redirection and the locations of assemblies.

<assemblyIdentity>

Contains identifying information about an assembly.

<bindingRedirect>

Redirects one assembly version to another.

<codeBase>

Specifies where the runtime can find an assembly.

<dependentAssembly>

Encapsulates binding policy and assembly location for each assembly.

<developmentMode>

Specifies whether the runtime searches for assemblies in directories specified by the DEVPATH environment variable.

<disableCachingBindingFailures>

Specifies whether the caching of binding failures, which is the default behavior in the .NET Framework version 2.0, is disabled.

<gcConcurrent>

Specifies whether the runtime runs garbage collection concurrently.

<gcServer>

Specifies whether the common language runtime runs server garbage collection.

<legacyImpersonationPolicy>

Specifies that the windows identity does not flow across user-defined asynchronous points.

<legacyV1CASPolicy>

Specifies whether the runtime uses legacy code access security (CAS) policy.

<probing>

Specifies subdirectories that the runtime searches when loading assemblies.

<publisherPolicy>

Specifies whether the runtime applies publisher policy.

<qualifyAssembly>

Specifies the full name of the assembly that should be dynamically loaded when a partial name is used.

<runtime>

Contains information about assembly binding and the behavior of garbage collection.

See Also

Tasks

How to: Disable Concurrent Garbage Collection

Concepts

Redirecting Assembly Versions

Other Resources

Configuration File Schema for the .NET Framework