AppDomainSetup.SetConfigurationBytes Method

Provides XML configuration information for the application domain, overriding the application's XML configuration information.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public void SetConfigurationBytes (
	byte[] value
)
public void SetConfigurationBytes (
	byte[] value
)
public function SetConfigurationBytes (
	value : byte[]
)
Not applicable.

Parameters

value

A Byte array containing the XML configuration information to be used for the application domain.

The SetConfigurationBytes method provides a way to override the configuration information of an application that creates a new application domain. The configuration file information in value overrides the configuration file information for the application. For example, when the Example.exe application creates a new application domain, it can override the configuration information originally obtained from the Example.exe.config file.

The XML in value is the same as the XML in a normal configuration file, except that it is stored as a Byte array.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: