Uredi

AppDomainSetup Class

Definition

Represents assembly binding information that can be added to an instance of AppDomain.

public ref class AppDomainSetup sealed
public sealed class AppDomainSetup
type AppDomainSetup = class
Public NotInheritable Class AppDomainSetup
Inheritance
AppDomainSetup

Remarks

Changing the properties of an AppDomainSetup instance does not affect any existing AppDomain. It can affect only the creation of a new AppDomain, when the CreateDomain method is called with the AppDomainSetup instance as a parameter.

This class implements the IAppDomainSetup interface.

Caution

The default value for the DisallowCodeDownload property is false. This setting is unsafe for services. To help prevent services from downloading partially trusted code, set this property to true

Properties

Name Description
ApplicationBase

Gets the name of the directory containing the application.

TargetFrameworkName

Gets (or, in .NET Framework, sets) a string that specifies the target framework in a format that can be parsed by the FrameworkName(String) constructor.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also