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

AF SDK Reference

Product Family
Current publication

AFAnalysis.TraceEvent Method (AFTraceSwitchLevel, String, Int32)

Table of Contents

AFAnalysis.TraceEvent Method (AFTraceSwitchLevel, String, Int32)

AFAnalysis.TraceEvent Method (AFTraceSwitchLevel, String, Int32)
Output a trace event with a message and a duration.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.0.1156

Syntax

public void TraceEvent(
	AFTraceSwitchLevel level,
	string message,
	int durationInMilliseconds
)
Public Sub TraceEvent ( 
	level As AFTraceSwitchLevel,
	message As String,
	durationInMilliseconds As Integer
)

Dim instance As AFAnalysis
Dim level As AFTraceSwitchLevel
Dim message As String
Dim durationInMilliseconds As Integer

instance.TraceEvent(level, message, durationInMilliseconds)
public:
virtual void TraceEvent(
	AFTraceSwitchLevel level, 
	String^ message, 
	int durationInMilliseconds
) sealed
abstract TraceEvent : 
        level : AFTraceSwitchLevel * 
        message : string * 
        durationInMilliseconds : int -> unit 
override TraceEvent : 
        level : AFTraceSwitchLevel * 
        message : string * 
        durationInMilliseconds : int -> unit 

Parameters

level
Type: OSIsoft.AF.Diagnostics.AFTraceSwitchLevel
The tracing level of the trace event being generated.
message
Type: System.String
The trace event message being generated.
durationInMilliseconds
Type: System.Int32
The duration of the event specified in milliseconds.

Implements

IAFTrace.TraceEvent(AFTraceSwitchLevel, String, Int32)

Version Information

AFSDK


See Also

Was this topic helpful?