This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the current thread id.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(.Level1)]
[(Name = "{0}.Thread.Id")]
public static int ThreadId()
Visual Basic (Declaration)Copy imageCopy Code
<(.Level1)> _
<(Name := "{0}.Thread.Id")> _
Public Shared Function ThreadId As Integer

Return Value

Unique identifier for the current managed thread.

See Also

Advanced