WebErrorEvent.ThreadInformation 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取应用程序线程信息。
public:
 property System::Web::Management::WebThreadInformation ^ ThreadInformation { System::Web::Management::WebThreadInformation ^ get(); };
	public System.Web.Management.WebThreadInformation ThreadInformation { get; }
	member this.ThreadInformation : System.Web.Management.WebThreadInformation
	Public ReadOnly Property ThreadInformation As WebThreadInformation
	属性值
包含有关当前线程的信息的 WebThreadInformation 对象。
示例
下面的代码示例演示如何获取应用程序 ThreadInformation 值。
// Obtains the current thread information.
public string GetThreadInfo()
{
    string threadInfo = GetThreadInfo();
    return threadInfo;
}
' Obtains the current thread information.
Public Function GetThreadInfo() As String
   Dim threadInfo As String = GetThreadInfo()
   Return threadInfo
End Function 'GetThreadInfo