InvalidScriptingOptionException 构造函数 (String, Exception)
Initializes a new instance of InvalidScriptingOptionException, specifying the message to associate with this instance as well as the exception which caused this InvalidScriptingOptionException.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception _
)
用法
Dim message As String
Dim innerException As Exception
Dim instance As New InvalidScriptingOptionException(message, _
innerException)
public InvalidScriptingOptionException(
string message,
Exception innerException
)
public:
InvalidScriptingOptionException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> InvalidScriptingOptionException
public function InvalidScriptingOptionException(
message : String,
innerException : Exception
)
参数
- message
类型:System.String
A String which contains message to associate with the InvalidScriptingOptionException.
- innerException
类型:System.Exception
A Exception which contains the exception which caused this InvalidScriptingOptionException.
请参阅
参考
InvalidScriptingOptionException 类