Partager via


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

'Declaration
Protected Sub New ( _
    message As String _
)
protected DataProviderException(
    string message
)
protected:
DataProviderException(
    String^ message
)
new : 
        message:string -> DataProviderException
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.

.NET Framework Security

See Also

Reference

DataProviderException Class

DataProviderException Overload

Microsoft.VisualStudio.Data.Core Namespace