AFTrace.TraceError Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Output an error trace event.
Namespace: OSIsoft.AF.Diagnostics
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public static void TraceError( string format, params Object[] args )
Public Shared Sub TraceError ( format As String, ParamArray args As Object() ) Dim format As String Dim args As Object() AFTrace.TraceError(format, args)
public: static void TraceError( String^ format, ... array<Object^>^ args )
static member TraceError : format : string * args : Object[] -> unit
Parameters
- format
- Type: SystemString
The format string of the trace event message being generated. - args
- Type: SystemObject
A variable list of arguments for the format string of the trace message being generated.