Share via


GetDomain Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the current ___domain in which the current thread is running.

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

Syntax

'Declaration
Public Shared Function GetDomain As AppDomain
public static AppDomain GetDomain()
public:
static AppDomain^ GetDomain()
static member GetDomain : unit -> AppDomain 
public static function GetDomain() : AppDomain

Return Value

Type: System. . :: . .AppDomain
An AppDomain representing the current application ___domain of the running thread.

.NET Framework Security

See Also

Reference

Thread Class

System.Threading Namespace