PropertyNotSetException 构造函数 (String)

使用指定的消息文本初始化 PropertyNotSetException 类的新实例。

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
Public Sub New ( _
    message As String _
)
用法
Dim message As String 

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

参数

  • message
    类型:String
    一个 String 值,该值指定描述导致了异常的事件的消息文本。

请参阅

参考

PropertyNotSetException 类

PropertyNotSetException 重载

Microsoft.SqlServer.Management.Common 命名空间