Property ContextHibernationDirectory
ContextHibernationDirectory
Gets or sets the directory used to persist hibernated inference context state to disk.
public static string ContextHibernationDirectory { get; set; }
Property Value
Remarks
When an inference context is hibernated without an explicit file path, a unique file is generated inside this directory. If not set, defaults to the system temp folder (GetTempPath()). The directory is created automatically if it does not exist.
Exceptions
- ArgumentException
Thrown if the provided path is null, empty, or whitespace during a set operation.