ComponentOne FlexReport for WinForms
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / C1DocumentSource Class / SecurityError Event

In This Topic
    SecurityError Event
    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.
    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.

    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