IsDefaultAppDomain Method

AppDomain.IsDefaultAppDomain Method ()

 

Returns a value that indicates whether the application domain is the default application domain for the process.

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

member IsDefaultAppDomain : unit -> bool

Return Value

Type: System.Boolean

true if the current AppDomain object represents the default application domain for the process; otherwise, false.

Every managed process has a default application domain. Execution begins in the default domain.

The following code example creates a second application domain and displays information about the default domain and the new domain.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft