共用方式為


DacExceptionMessage 類別

Data associated with an error with exception information.

繼承階層

System.Object
  Microsoft.SqlServer.Dac.DacMessage
    Microsoft.SqlServer.Dac.DacExceptionMessage

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

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class DacExceptionMessage _
    Inherits DacMessage
'用途
Dim instance As DacExceptionMessage
[SerializableAttribute]
public sealed class DacExceptionMessage : DacMessage
[SerializableAttribute]
public ref class DacExceptionMessage sealed : public DacMessage
[<SealedAttribute>]
[<SerializableAttribute>]
type DacExceptionMessage =  
    class 
        inherit DacMessage 
    end
public final class DacExceptionMessage extends DacMessage

DacExceptionMessage 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Exception Get the exception associated with the event message.
公用屬性 Message Get friendly message for the current status of an operation. (繼承自 DacMessage。)
公用屬性 MessageType Get the type of the event message. (繼承自 DacMessage。)
公用屬性 Number Get numeric value associated with the event message. (繼承自 DacMessage。)
公用屬性 Prefix Get string prefix associated with the source of the event message. (繼承自 DacMessage。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString Return a string that represents the current object. (繼承自 DacMessage。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dac 命名空間