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 命名空间