VistaDB 6
VistaDB.Diagnostic Namespace / VistaDBException Class / Contains Method
Error identifier to look for


In This Topic
    Contains Method (VistaDBException)
    In This Topic
    Checks the error identifiers in the chain of nested InnerExceptions which caused this exception instance. (Does not check this instance's own ErrorId; caller should check property explicitly if necessary.)
    Syntax
    'Declaration
     
    
    Public Function Contains( _
       ByVal errorId As System.Long _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBException
    Dim errorId As System.Long
    Dim value As System.Boolean
     
    value = instance.Contains(errorId)
    public System.bool Contains( 
       System.long errorId
    )

    Parameters

    errorId
    Error identifier to look for

    Return Value

    Found status
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also