DataAccessException Constructor(EDataProviderType,String)

MNG Profiler

MNG.Direct Documentation


MNG.Profiler.Data.Exceptions Namespace > DataAccessException Class > DataAccessException Constructor : DataAccessException Constructor(EDataProviderType,String)
Indicates what type of data source is being used.
Detailed information about the provider. Ex. Connection strings.
DataAccessException Constructor(EDataProviderType,String)
Constructor that allows specifying the type of data source that this exception arouse from.
Syntax
'Declaration
 
Public Function New( _
   ByVal providerType As EDataProviderType, _
   Optional ByVal providerInfo As String _
)
'Usage
 
Dim providerType As EDataProviderType
Dim providerInfo As String
 
Dim instance As New DataAccessException(providerType, providerInfo)
public DataAccessException( 
   EDataProviderType providerType,
   string providerInfo
)
public:
DataAccessException( 
   EDataProviderType providerType,
   String^ providerInfo
)

Parameters

providerType
Indicates what type of data source is being used.
providerInfo
Detailed information about the provider. Ex. Connection strings.
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