You are here: Basics Operations & Concepts > Activation > Transparent Activation > TADiagnostics

TA Diagnostics

You can use Diagnostics to get runtime information about classes with and without TA support. Add a call to the following method in the configureTA() method and run the example from the previous topic:

TAExample.cs: ActivateDiagnostics
private static void ActivateDiagnostics(IConfiguration configuration)
         {
            // Add diagnostic listener that will show all the classes that are not
            // TA aware.
            configuration.Diagnostic().AddListener(new TADiagnostics());
        }

TAExample.vb: ActivateDiagnostics
Private Shared Sub ActivateDiagnostics(ByVal configuration As IConfiguration)
            ' Add diagnostic listener that will show all the classes that are not
            ' TA aware.
            configuration.Diagnostic.AddListener(New TADiagnostics)
        End Sub

The example should show you diagnostic messages about the classes without TA support. In this case it should be Image class (Pilot._image) and BlobImpl(used in Image class).