Megosztás a következőn keresztül:


StatusEventArgs Constructor (String, Byte, MessageStatus)

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    percentCompleted As Byte, _
    messageStatus As MessageStatus _
)
'Usage
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
)

Parameters

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