Click or drag to resize
CMSThreadAllowEmptyContext Method
Allows anonymous thread to use new dedicated context in subsequent calls. Call this method in case the anonymous thread isn't initiated from a request thread, or in case you want to start with an empty thread context on purpose.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public static void AllowEmptyContext(
	CMSThread thread = null
)

Parameters

thread (Optional)
Type: CMS.BaseCMSThread
Thread for which to allow the empty context. Pass null for current thread.
See Also