共用方式為


ExpressionTypeMistmatchException 建構函式 (String, String)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the two specified types.

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

語法

'宣告
Public Sub New ( _
    typeLeft As String, _
    typeRight As String _
)
'用途
Dim typeLeft As String 
Dim typeRight As String 

Dim instance As New ExpressionTypeMistmatchException(typeLeft, _
    typeRight)
public ExpressionTypeMistmatchException(
    string typeLeft,
    string typeRight
)
public:
ExpressionTypeMistmatchException(
    String^ typeLeft, 
    String^ typeRight
)
new : 
        typeLeft:string * 
        typeRight:string -> ExpressionTypeMistmatchException
public function ExpressionTypeMistmatchException(
    typeLeft : String, 
    typeRight : String
)

參數

  • typeLeft
    型別:System.String
    A String value that specifies the first type that is associated with the exception.
  • typeRight
    型別:System.String
    A String value that specifies the second type that is associated with the exception.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

處理 SMO 例外狀況

請參閱

參考

ExpressionTypeMistmatchException 類別

ExpressionTypeMistmatchException 多載

Microsoft.SqlServer.Management.Dmf 命名空間