AFTrace.Flush Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Flushes the trace output buffers, and causes buffered data to be written to the output listeners.
Namespace: OSIsoft.AF.Diagnostics
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public static void Flush()
Public Shared Sub Flush AFTrace.Flush()
public: static void Flush()
static member Flush : unit -> unit
Remarks
Use this method to ensure logged events have been written to the output listeners.