RuleException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| 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
附加到此异常的内部异常