VistaDB 5






Error identifier to look for
Contains Method (VistaDBException)
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
)
public function Contains( 
    errorId: System.Int64
): System.Boolean; 
public function Contains( 
   errorId : System.long
) : System.boolean;
public: System.bool Contains( 
   System.long errorId
) 
public:
System.bool Contains( 
   System.int64 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