StatusEventArgs 构造函数 (String, Byte, MessageStatus)

Creates a new instance of the StatusEventArgs class with the provided replication agent status information.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)

语法

声明
Public Sub New ( _
    message As String, _
    percentCompleted As Byte, _
    messageStatus As MessageStatus _
)
用法
Dim message As String 
Dim percentCompleted As Byte 
Dim messageStatus As MessageStatus 

Dim instance As New StatusEventArgs(message, _
    percentCompleted, messageStatus)
public StatusEventArgs(
    string message,
    byte percentCompleted,
    MessageStatus messageStatus
)
public:
StatusEventArgs(
    String^ message, 
    unsigned char percentCompleted, 
    MessageStatus messageStatus
)
new : 
        message:string * 
        percentCompleted:byte * 
        messageStatus:MessageStatus -> StatusEventArgs
public function StatusEventArgs(
    message : String, 
    percentCompleted : byte, 
    messageStatus : MessageStatus
)

参数

  • message
    类型:System.String
    The status message returned by the replication agent.
  • percentCompleted
    类型:System.Byte
    A Byte value that indicates estimated amount of the overall synchronization that has completed.

请参阅

参考

StatusEventArgs 类

StatusEventArgs 重载

Microsoft.SqlServer.Replication 命名空间