Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeRules.TraceError Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeRules.TraceError Method
Output an error trace event.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public void TraceError(
	string format,
	params Object[] args
)
Public Sub TraceError ( 
	format As String,
	ParamArray args As Object()
)

Dim instance As AFTimeRules
Dim format As String
Dim args As Object()

instance.TraceError(format, args)
public:
virtual void TraceError(
	String^ format, 
	... array<Object^>^ args
) sealed
abstract TraceError : 
        format : string * 
        args : Object[] -> unit 
override 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.

Implements

IAFTraceTraceError(String, Object)

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in