Thanks for your reply Alan,
Of course, we are able to get the unmanaged thread ID, just call the raw
win32 api through PInvoke, the
DWORD GetCurrentThreadId(void);
WIN32 API just help get the current thread ID. However, since I've
mentioned that the underlying thread is managed by CLR runtime, it'll
schedule a underlying operating system thread to work in different
appdomain, so it is possible that the creation time of the underlying win32
thread is not the start of your webservice method executing point....
Regards,
Steven Cheng
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "A.M-SG" <alanalan@newsgroup.nospam>
| References: <OqQiQEf9FHA.4084@TK2MSFTNGP10.phx.gbl>
<NmUhw9j9FHA.1236@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: The thread '<No Name>' (0xdc0) has exited with code 0 (0x0).
| Date: Thu, 1 Dec 2005 13:10:37 -0500
[quoted text clipped - 9 lines]
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:31005
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
[quoted text clipped - 64 lines]
| > | methid:
| > | System.Diagnostics.Debug.WriteLine(string.Format("Thread info: {0},
{1}",System.Threading.Thread.CurrentThread.Name,System.Threading.Thread.Curr
| > entThread.ManagedThreadId));
| > |
[quoted text clipped - 5 lines]
| > |
| > | Alan