FlexReport for WPF | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report Namespace / FlexReport Class / AsyncMethodsUseAwaitPattern Property

In This Topic
    AsyncMethodsUseAwaitPattern Property (FlexReport)
    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.WPF.Document.C1DocumentSource.GenerateCompleted, C1.WPF.Document.C1DocumentSource.GenerateCompleted and others) do not fire.
    Syntax
    'Declaration
     
    Public Property AsyncMethodsUseAwaitPattern As Boolean
    public bool AsyncMethodsUseAwaitPattern {get; set;}
    See Also