Document Library for WinForms | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / C1DocumentSource Class / AsyncMethodsUseAwaitPattern Property

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