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 類別