Udostępnij za pośrednictwem


StatusEventArgs Constructors

Definition

Creates a new instance of the StatusEventArgs class.

Overloads

StatusEventArgs()

Creates a new instance of the StatusEventArgs class.

StatusEventArgs(String, Byte, MessageStatus)

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

StatusEventArgs()

Creates a new instance of the StatusEventArgs class.

public:
 StatusEventArgs();
public StatusEventArgs ();
Public Sub New ()

Applies to

StatusEventArgs(String, Byte, MessageStatus)

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

public:
 StatusEventArgs(System::String ^ message, System::Byte percentCompleted, Microsoft::SqlServer::Replication::MessageStatus messageStatus);
public StatusEventArgs (string message, byte percentCompleted, Microsoft.SqlServer.Replication.MessageStatus messageStatus);
new Microsoft.SqlServer.Replication.StatusEventArgs : string * byte * Microsoft.SqlServer.Replication.MessageStatus -> Microsoft.SqlServer.Replication.StatusEventArgs
Public Sub New (message As String, percentCompleted As Byte, messageStatus As MessageStatus)

Parameters

message
String

The status message returned by the replication agent.

percentCompleted
Byte

A Byte value that indicates estimated amount of the overall synchronization that has completed.

messageStatus
MessageStatus

A MessageStatus value that indicates the current operational status of the replication agent.

Applies to