RuleException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| RuleException() |
初始化一個新的例外訊息實例 RuleException ,內部例外則設為 null |
| RuleException(String) |
用訊息初始化一個新的 實 RuleException 例 |
| RuleException(String, Exception) |
初始化一個新的實例 RuleException ,包含訊息與內部例外 |
RuleException()
RuleException(String)
用訊息初始化一個新的 實 RuleException 例
public RuleException(string message);
new Microsoft.SqlServer.Dac.CodeAnalysis.RuleException : string -> Microsoft.SqlServer.Dac.CodeAnalysis.RuleException
Public Sub New (message As String)
參數
- message
- String
例外狀況訊息
適用於
RuleException(String, Exception)
初始化一個新的實例 RuleException ,包含訊息與內部例外
public RuleException(string message, Exception innerException);
new Microsoft.SqlServer.Dac.CodeAnalysis.RuleException : string * Exception -> Microsoft.SqlServer.Dac.CodeAnalysis.RuleException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
例外狀況訊息
- innerException
- Exception
附加於此例外的內部例外