Mono Class Library: System.AppDomain Overview | Members

System.AppDomain.CreateDomain Method

Creates and returns a new application domain with the specified name.

public static AppDomain CreateDomain (string friendlyName)

Parameters

friendlyName
A string containing the friendly name of the domain.

Returns

A AppDomain representing the newly created application domain.

Exceptions

TypeReason
ArgumentNullExceptionfriendlyName is null .

Remarks

Note: The friendlyName parameter is intended to identify the domain in a manner that is meaningful to humans. This string should be suitable for display in user interfaces.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0