Thread.GetDomainID Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a unique application domain identifier.

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

static member GetDomainID : unit -> int

Return Value

Type: System.Int32

A 32-bit signed integer uniquely identifying the application domain.

The following code example shows how to retrieve the name and ID of the AppDomain in which the thread is running.

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

.NET Framework
Available since 1.1
Return to top
Show: