共用方式為


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
)

參數

請參閱

參考

InvalidScriptingOptionException 類別

InvalidScriptingOptionException 多載

Microsoft.SqlServer.Management.Smo 命名空間