AFTrace.Flush Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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.