This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

DispatchedAttribute.IsAsync Property

Determines whether the target method is invoked asynchronously or asynchronously.

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

Property Value

Type: Boolean
true if the target method must be invoked asynchronously, or false if the target method must be invoked synchronously, that is, if the caller must wait for the dispatched method to complete.
Remarks

Method that have a non-void return type or ref or out parameters cannot be dispatched asynchronously.

See Also