AFAnalysis.TraceWarning Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Output a warning trace event.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void TraceWarning( string format, params Object[] args )
Public Sub TraceWarning ( format As String, ParamArray args As Object() ) Dim instance As AFAnalysis Dim format As String Dim args As Object() instance.TraceWarning(format, args)
public: virtual void TraceWarning( String^ format, ... array<Object^>^ args ) sealed
abstract TraceWarning : format : string * args : Object[] -> unit override TraceWarning : 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.