Share via


Thread.GetDomain Method

Returns the name of the domain in which the current thread is running.

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

Syntax

[MethodImplAttribute]
public static AppDomain GetDomain ()

Return Value

An AppDomain object that represents the application domain in which the current thread is running.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Thread Class
Thread Members
System.Threading Namespace