Class CallbackThreadAttribute
- Namespace
- Jitter2
- Assembly
- Jitter2.dll
Indicates the thread context in which a callback or event is expected to be invoked. This attribute is primarily informational and used for documentation purposes.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Event)]
public sealed class CallbackThreadAttribute : Attribute
- Inheritance
-
CallbackThreadAttribute
- Inherited Members
Constructors
CallbackThreadAttribute(ThreadContext)
Indicates the thread context in which a callback or event is expected to be invoked. This attribute is primarily informational and used for documentation purposes.
public CallbackThreadAttribute(ThreadContext context)
Parameters
contextThreadContext
Properties
Context
Gets the thread context in which the attributed member is expected to be invoked.
public ThreadContext Context { get; }