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

AF SDK Reference

AFTrace.TraceEvent Method (Exception)

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFTrace.TraceEvent Method (Exception)
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.

Version Information

AFSDK


See Also

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