FlexReport for WPF | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document Namespace / C1SSRSDocumentSource Class / SecurityError Event

In This Topic
    SecurityError Event (C1SSRSDocumentSource)
    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