Aracılığıyla paylaş


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>

      <appDomainManagerAssembly>

      <appDomainManagerType>

      <appDomainResourceMonitoring>

      <assemblyBinding> Element for <runtime>

         <dependentAssembly>

            <assemblyIdentity>

            <bindingRedirect>

            <codeBase>

            <publisherPolicy>

         <probing>

         <qualifyAssembly>

         <supportPortability>

      <bypassTrustedAppStrongNames>

      <CompatSortNLSVersion>

      <developmentMode>

      <disableCachingBindingFailures>

      <disableCommitThreadStack>

      <disableFusionUpdatesFromADManager>

      <etwEnable>

      <gcConcurrent>

      <gcServer>

      <generatePublisherEvidence>

      <NetFx40_LegacySecurityPolicy>

      <NetFx40_PInvokeStackResilience>

      <legacyCorruptedStateExceptionsPolicy>

      <legacyImpersonationPolicy>

      <loadfromRemoteSources>

      <PreferComInsteadOfRemoting>

      <shadowCopyTimeStampVerification>

      <TimeSpan_LegacyFormatMode>

      <UseSmallInternalThreadStacks>

Element

Description

<alwaysFlowImpersonationPolicy>

Specifies that the Windows identity always flows across asynchronous points, regardless of how impersonation was performed.

<appDomainManagerAssembly>

Specifies the assembly that provides the application domain manager for the default application domain in the process.

<appDomainManagerType>

Specifies the type that serves as the application domain manager for the default application domain.

<appDomainResourceMonitoring>

Instructs the runtime to collect statistics on all application domains in the process for the life of the process.

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

<bypassTrustedAppStrongNames>

Specifies whether strong name verification for trusted assemblies should be bypassed.

<codeBase>

Specifies where the runtime can find an assembly.

<CompatSortNLSVersion>

Specifies that the runtime should use legacy sorting behavior when performing string comparisons

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

<disableCommitThreadStack>

Specifies whether the full thread stack is committed when a thread starts.

<disableFusionUpdatesFromADManager>

Specifies whether the default behavior, which is to allow the runtime host to override configuration settings for an application domain, is disabled.

<etwEnable>

Specifies whether to enable event tracing for Windows (ETW) for common language runtime events.

<gcConcurrent>

Specifies whether the runtime runs garbage collection concurrently.

<gcServer>

Specifies whether the common language runtime runs server garbage collection.

<generatePublisherEvidence>

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

<NetFx40_LegacySecurityPolicy>

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

<legacyCorruptedStateExceptionsPolicy>

Specifies whether the common language runtime allows managed code to catch access violations and other corrupted state exceptions.

<legacyImpersonationPolicy>

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

<loadfromRemoteSources>

Specifies whether assemblies from remote sources are loaded as full trust.

<PreferComInsteadOfManagedRemoting>

Specifies that the runtime will use COM interop instead of remoting across application domain boundaries.

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

<shadowCopyTimeStampVerification>

Specifies whether shadow copying uses the default startup behavior introduced in the .NET Framework version 4, or reverts to the startup behavior of earlier versions of the .NET Framework.

<supportPortability>

Specifies that an application can reference the same assembly in two different implementations of the .NET Framework, by disabling the default behavior that treats the assemblies as equivalent for application portability purposes.

<TimeSpan_LegacyFormatMode>

Specifies whether the runtime uses legacy formatting for TimeSpan values.

<UseSmallInternalThreadStacks>

Requests that the runtime use explicit stack sizes when it creates certain threads that it uses internally, instead of the default stack size.

See Also

Tasks

How to: Disable Concurrent Garbage Collection

Concepts

Redirecting Assembly Versions

Other Resources

Configuration File Schema for the .NET Framework