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.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax 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