共用方式為


ExpressionSerializationException 建構函式 (String, String)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified received name and expected name.

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

語法

'宣告
Public Sub New ( _
    nameRead As String, _
    nameExpected As String _
)
'用途
Dim nameRead As String 
Dim nameExpected As String 

Dim instance As New ExpressionSerializationException(nameRead, _
    nameExpected)
public ExpressionSerializationException(
    string nameRead,
    string nameExpected
)
public:
ExpressionSerializationException(
    String^ nameRead, 
    String^ nameExpected
)
new : 
        nameRead:string * 
        nameExpected:string -> ExpressionSerializationException
public function ExpressionSerializationException(
    nameRead : String, 
    nameExpected : String
)

參數

  • nameRead
    型別:System.String
    A String value that specifies the name that is read during the serialization.
  • nameExpected
    型別:System.String
    A String value that specifies the name that is expected during serialization.

備註

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

範例

處理 SMO 例外狀況

請參閱

參考

ExpressionSerializationException 類別

ExpressionSerializationException 多載

Microsoft.SqlServer.Management.Dmf 命名空間