PostSharp 4.3 / / Post­Sharp Documentation / 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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public bool IsLongRunning { get; set; }

Property Value

Type: Boolean
See Also