Bearbeiten

Freigeben über


WebErrorEvent.ThreadInformation Property

Definition

Gets the application-thread information.

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

Property Value

A WebThreadInformation object that contains information about the current thread.

Examples

The following code example shows how to obtain the application ThreadInformation value.

// 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

Applies to