|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.
CMS.Base (in CMS.Base.dll) Version: 8.2.23
public static void AllowEmptyContext(
CMSThread thread = null
- thread (Optional)
- Type: CMS.BaseCMSThread
Thread for which to allow the empty context. Pass null for current thread.