DataProviderException Constructor (String)

Class constructor. Initializes a new, parameterized instance of the DataProviderException class with the name of the DDEX provider.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Public Sub New ( _
    providerName As String _
)
'使用
Dim providerName As String

Dim instance As New DataProviderException(providerName)
public DataProviderException(
    string providerName
)
public:
DataProviderException(
    String^ providerName
)
public function DataProviderException(
    providerName : String
)

Parameters

  • providerName
    Type: System.String

    The name of the DDEX provider that caused the error.

Remarks

The generic error message propagated with the exception when this constructor is called is "An unexpected error occurred in the <DDEX provider name>. Please contact the provider vendor to resolve this problem."

Permissions

See Also

Reference

DataProviderException Class

DataProviderException Members

DataProviderException Overload

Microsoft.VisualStudio.Data Namespace