This document is archived and information here might be outdated. Recommended version.
Number of available trace tasks.
[Visual Basic .NET] Public ReadOnly Property TaskCount As Integer
[C#] public int TaskCount {get;}