Share via


InvalidPropertyValueException Constructor (String)

Initializes a new instance of the InvalidPropertyValueException class with the specified message text.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New InvalidPropertyValueException(message)
public InvalidPropertyValueException(
    string message
)
public:
InvalidPropertyValueException(
    String^ message
)
new : 
        message:string -> InvalidPropertyValueException
public function InvalidPropertyValueException(
    message : String
)

Parameters

  • message
    Type: System.String
    A String value that specifies the message text that describes the event that caused the exception.