Class CalledOnBackgroundThreadAttribute
- Namespace
- CarinaStudio.Threading
- Assembly
- CarinaStudio.AppBase.Core.dll
Indicates that the method will/should be called on a thread which is different from main/primary thread.
[AttributeUsage(AttributeTargets.Method)]
public class CalledOnBackgroundThreadAttribute : Attribute
- Inheritance
-
CalledOnBackgroundThreadAttribute
- Inherited Members
- Extension Methods
Constructors
CalledOnBackgroundThreadAttribute()
Initialize new CalledOnBackgroundThreadAttribute instance.
public CalledOnBackgroundThreadAttribute()
CalledOnBackgroundThreadAttribute(params string[])
Initialize new CalledOnBackgroundThreadAttribute instance.
public CalledOnBackgroundThreadAttribute(params string[] threadNames)
Parameters
threadNamesstring[]List of names of threads which will/should call the method.