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.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.