PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Threading Namespace/Background­Attribute Class/Background­Attribute Properties/Background­Attribute.​Is­Long­Running Property

BackgroundAttribute.IsLongRunning Property

Specifies that the method is long-running and should be executed on its own thread, if that is supported on the target platform. If false, the method will be executed in the thread pool.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
public bool IsLongRunning { get; set; }

Property Value

Type: Boolean
See Also