共用方式為


PropertyTypeMismatchException 建構 (String, String, String)

Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    propertyName As String, _
    receivedType As String, _
    expectedType As String _
)
'用途
Dim propertyName As String
Dim receivedType As String
Dim expectedType As String

Dim instance As New PropertyTypeMismatchException(propertyName, _
    receivedType, expectedType)
public PropertyTypeMismatchException(
    string propertyName,
    string receivedType,
    string expectedType
)
public:
PropertyTypeMismatchException(
    String^ propertyName, 
    String^ receivedType, 
    String^ expectedType
)
new : 
        propertyName:string * 
        receivedType:string * 
        expectedType:string -> PropertyTypeMismatchException
public function PropertyTypeMismatchException(
    propertyName : String, 
    receivedType : String, 
    expectedType : String
)

參數