共用方式為


WebErrorEvent.ThreadInformation 屬性

定義

取得應用程式執行緒的資訊。

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

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

適用於