Click or drag to resize
ThreadRequiredContextAttribute Class
Indicates whether the marked class should be ensured before the new CMSThread is started to be available with current values within the CMSThread run.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    CMS.BaseThreadRequiredContextAttribute

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
public sealed class ThreadRequiredContextAttribute : Attribute, 
	IPreInitAttribute

The ThreadRequiredContextAttribute type exposes the following members.

Constructors
  NameDescription
Public methodThreadRequiredContextAttribute
Creates new instance of ThreadRequiredContextAttribute.
Top
Properties
  NameDescription
Public propertyMarkedType
Type of the context.
Top
Methods
  NameDescription
Public methodPreInit
Registers context of MarkedType type.
Top
Remarks
Marked class must implement IContextContainer interface.
See Also