DataProviderException Constructor (String)

Initializes a new instance of the DataProviderException class, specifying an error message.

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

Syntax

'宣言
Protected Sub New ( _
    message As String _
)
'使用
Dim message As String

Dim instance As New DataProviderException(message)
protected DataProviderException(
    string message
)
protected:
DataProviderException(
    String^ message
)
protected function DataProviderException(
    message : String
)

Parameters

  • message
    Type: System.String

    The message that describes the error.

Remarks

The content of the message parameter should be understandable to the user. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

This constructor is typically called only by the DDEX runtime.

Permissions

See Also

Reference

DataProviderException Class

DataProviderException Members

DataProviderException Overload

Microsoft.VisualStudio.Data.Core Namespace