AppDomain.ToString Method ()

 

Obtains a string representation that includes the friendly name of the application domain and any context policies.

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

override ToString : unit -> string

Return Value

Type: System.String

A string formed by concatenating the literal string "Name:", the friendly name of the application domain, and either string representations of the context policies or the string "There are no context policies."

Exception Condition
AppDomainUnloadedException

The application domain represented by the current AppDomain has been unloaded.

The following code example displays the return value of the ToString method.

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: