Table of Contents

Class UsedOnBackgroundThreadAttribute

Namespace
CarinaStudio.Threading
Assembly
CarinaStudio.AppBase.Core.dll

Indicates that the field or property will/should be used on a thread which is different from main/primary thread.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class UsedOnBackgroundThreadAttribute : Attribute
Inheritance
UsedOnBackgroundThreadAttribute
Inherited Members
Extension Methods

Constructors

UsedOnBackgroundThreadAttribute()

Initialize new UsedOnBackgroundThreadAttribute instance.

public UsedOnBackgroundThreadAttribute()

UsedOnBackgroundThreadAttribute(params string[])

Initialize new UsedOnBackgroundThreadAttribute instance.

public UsedOnBackgroundThreadAttribute(params string[] threadNames)

Parameters

threadNames string[]

List of names of threads which will/should use the field or property.