WebErrorEvent.ThreadInformation Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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