PropertyTypeMismatchException 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果将错误类型的值赋给属性,则引发的异常。
[System.Serializable]
public sealed class PropertyTypeMismatchException : Microsoft.SqlServer.Management.Smo.SmoException
[<System.Serializable>]
type PropertyTypeMismatchException = class
inherit SmoException
Public NotInheritable Class PropertyTypeMismatchException
Inherits SmoException
- 继承
- 属性
构造函数
| 名称 | 说明 |
|---|---|
| PropertyTypeMismatchException() |
Microsoft的构造函数。SqlServer.Management.Smo.PropertyTypeMismatchException。 |
| PropertyTypeMismatchException(String, Exception) |
Microsoft的构造函数。SqlServer.Management.Smo.PropertyTypeMismatchException。 |
| PropertyTypeMismatchException(String, String, String) |
Microsoft的构造函数。SqlServer.Management.Smo.PropertyTypeMismatchException。 |
| PropertyTypeMismatchException(String) |
Microsoft的构造函数。SqlServer.Management.Smo.PropertyTypeMismatchException。 |
属性
| 名称 | 说明 |
|---|---|
| ExpectedType |
如果将错误类型的值赋给属性,则引发的异常。 |
| HelpLink |
获取指向支持网站的字符串链接。 (继承自 SmoException) |
| Message |
获取异常的消息作为字符串。 |
| PropertyName |
如果将错误类型的值赋给属性,则引发的异常。 |
| ReceivedType |
如果将错误类型的值赋给属性,则引发的异常。 |
| SmoExceptionType |
从 T:Microsoft 获取异常的类型。SqlServer.Management.Smo.SmoExceptionType 枚举。 |
方法
| 名称 | 说明 |
|---|---|
| GetObjectData(SerializationInfo, StreamingContext) |
序列化帮助程序方法。 |
| SetHelpContext(String) |
如果将错误类型的值赋给属性,则引发的异常。 (继承自 SmoException) |