FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.8 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / AsyncMethodsUseAwaitPattern Property

In This Topic
    AsyncMethodsUseAwaitPattern Property (C1FlexReport)
    In This Topic
    Gets or sets a value indicating whether calls to async methods of the current document source expect the async/await pattern to be used by the calling code. If this property is true, then the *Completed events (such as C1.Win.C1Document.C1DocumentSource.GenerateCompleted, C1.Win.C1Document.C1DocumentSource.GenerateCompleted and others) do not fire.
    Syntax
    'Declaration
     
    Public Property AsyncMethodsUseAwaitPattern As Boolean
    public bool AsyncMethodsUseAwaitPattern {get; set;}
    See Also