CurrentDomain Property

AppDomain.CurrentDomain Property

 

Gets the current application domain for the current Thread.

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

static member CurrentDomain : AppDomain with get

Property Value

Type: System.AppDomain

The current application domain.

The following code example creates a new application domain. The CurrentDomain property is used to obtain an AppDomain object that represents the current application domain. The FriendlyName property provides the name of the current application domain, which is then displayed at the command line.

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

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft