WebErrorEvent.ThreadInformation Egenskap

Definition

Hämtar programtrådsinformationen.

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

Egenskapsvärde

Ett WebThreadInformation objekt som innehåller information om den aktuella tråden.

Exempel

Följande kodexempel visar hur du hämtar programvärdet 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

Gäller för