PropertyTypeMismatchException 建構函式

定義

多載

名稱 Description
PropertyTypeMismatchException()

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

PropertyTypeMismatchException(String)

為 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()

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

public PropertyTypeMismatchException();
Public Sub New ()

適用於

PropertyTypeMismatchException(String)

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

public PropertyTypeMismatchException(string message);
new Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException : string -> Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException
Public Sub New (message As String)

參數

message
String

例外訊息以字串形式呈現。

適用於

PropertyTypeMismatchException(String, Exception)

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

public PropertyTypeMismatchException(string message, Exception innerException);
new Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException : string * Exception -> Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException
Public Sub New (message As String, innerException As Exception)

參數

message
String

例外訊息以字串形式呈現。

innerException
Exception

就是造成目前例外的 T:System.Exception 實例。

適用於

PropertyTypeMismatchException(String, String, String)

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

public PropertyTypeMismatchException(string propertyName, string receivedType, string expectedType);
new Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException : string * string * string -> Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException
Public Sub New (propertyName As String, receivedType As String, expectedType As String)

參數

propertyName
String

那個不匹配的房產。

receivedType
String

該房產收到的錯誤類型。

expectedType
String

這是該物業的預期類型。

適用於