FlexReport for WinForms | ComponentOne
C1.Win.Document.6 Assembly / C1.Win.Document Namespace / C1DocumentSource Class / SecurityError Event

In This Topic
    SecurityError Event (C1DocumentSource)
    In This Topic
    Occurs when a securiy exception occurs during a document source operation. This event allows to correct security-related properties like System.Net.NetworkCredential and retry a failed operation with new credentials.
    Syntax
    'Declaration
     
    Public Event SecurityError As SecurityErrorEventHandler
    public event SecurityErrorEventHandler SecurityError
    Event Data

    The event handler receives an argument of type SecurityErrorEventArgs containing data related to this event. The following SecurityErrorEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the number of failed open attempts.  
    Get the connection path accessing which caused the security error.  
    Gets or sets a value indicating whether the C1DocumentSource should retry the operation which caused the security error. The default value is false.  
    See Also