PropertyTypeMismatchException 類別

定義

當屬性被指派錯誤類型的值時,會拋出例外。

[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
屬性

建構函式

名稱 Description
PropertyTypeMismatchException()

為 Microsoft 設計的 Constructor。SqlServer.Management.Smo.PropertyTypeMismatchException.

PropertyTypeMismatchException(String, Exception)

為 Microsoft 設計的 Constructor。SqlServer.Management.Smo.PropertyTypeMismatchException.

PropertyTypeMismatchException(String, String, String)

為 Microsoft 設計的 Constructor。SqlServer.Management.Smo.PropertyTypeMismatchException.

PropertyTypeMismatchException(String)

為 Microsoft 設計的 Constructor。SqlServer.Management.Smo.PropertyTypeMismatchException.

屬性

名稱 Description
ExpectedType

當屬性被指派錯誤類型的值時,會拋出例外。

HelpLink

會收到一個連結作為支援網站的字串。

(繼承來源 SmoException)
Message

會收到例外訊息為字串。

PropertyName

當屬性被指派錯誤類型的值時,會拋出例外。

ReceivedType

當屬性被指派錯誤類型的值時,會拋出例外。

SmoExceptionType

會收到 T:Microsoft 的例外類型。SqlServer.Management.Smo.SmoExceptionType enumeration.

方法

名稱 Description
GetObjectData(SerializationInfo, StreamingContext)

序列化輔助方法。

SetHelpContext(String)

當屬性被指派錯誤類型的值時,會拋出例外。

(繼承來源 SmoException)

適用於