共用方式為


DacRetryMessage 類別

Indicates that the DacFX API retried a command or connection due to a transient error returned by the server.

繼承階層

System.Object
  Microsoft.SqlServer.Dac.DacMessage
    Microsoft.SqlServer.Dac.DacRetryMessage

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

語法

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

DacRetryMessage 型別公開下列成員。

屬性

  名稱 說明
公用屬性 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。)
公用屬性 RetryCount The retry count when this error was encountered.
公用屬性 ServerErrorNumber The number of the error from SQL Server, or 0 if a different exception was encountered that invoked a retry.

上層

方法

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

上層

執行緒安全性

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

請參閱

參考

Microsoft.SqlServer.Dac 命名空間