Share via


WebRequestErrorEvent.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

屬性值

應用程式執行緒資訊。

範例

下列程式碼範例示範如何取得 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

備註

標準執行緒資訊是由 類別所 WebThreadInformation 定義。

適用於

另請參閱