WebErrorEvent.ThreadInformation Proprietà

Definizione

Ottiene le informazioni sul thread dell'applicazione.

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

Valore della proprietà

Oggetto WebThreadInformation che contiene informazioni sul thread corrente.

Esempio

Nell'esempio di codice seguente viene illustrato come ottenere il valore dell'applicazione 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

Si applica a