AFTrace.TraceEvent Method (Exception)
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
Output an error trace event for the exception.
Namespace: OSIsoft.AF.Diagnostics
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static void TraceEvent( Exception exception )
Public Shared Sub TraceEvent ( exception As Exception ) Dim exception As Exception AFTrace.TraceEvent(exception)
public: static void TraceEvent( Exception^ exception )
static member TraceEvent : exception : Exception -> unit
Parameters
- exception
- Type: SystemException
The exception to be used to generate the error trace event.