Document Library for WinForms | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / C1DocumentSource Class / OnSecurityError Method
The connection path that caused the exception.
The number of failed open attempts.

In This Topic
    OnSecurityError Method (C1DocumentSource)
    In This Topic
    For internal use.
    Syntax
    'Declaration
     
    Protected Overridable Function OnSecurityError( _
       ByVal path As String, _
       ByVal failedAttemptCount As Integer _
    ) As Boolean
    protected virtual bool OnSecurityError( 
       string path,
       int failedAttemptCount
    )

    Parameters

    path
    The connection path that caused the exception.
    failedAttemptCount
    The number of failed open attempts.

    Return Value

    A value indicating whether the C1DocumentSource should retry the operation which caused the security error.
    See Also