Classe StatusEventArgs
Represents status information returned by a replication agent when the Status event occurs.
Hierarquia de herança
System. . :: . .Object
System. . :: . .EventArgs
Microsoft.SqlServer.Replication..::..StatusEventArgs
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)
Sintaxe
'Declaração
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")> _
<ComVisibleAttribute(True)> _
Public Class StatusEventArgs _
Inherits EventArgs _
Implements IStatusEventData
'Uso
Dim instance As StatusEventArgs
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ComVisibleAttribute(true)]
public class StatusEventArgs : EventArgs,
IStatusEventData
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
[GuidAttribute(L"71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ComVisibleAttribute(true)]
public ref class StatusEventArgs : public EventArgs,
IStatusEventData
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")>]
[<ComVisibleAttribute(true)>]
type StatusEventArgs =
class
inherit EventArgs
interface IStatusEventData
end
public class StatusEventArgs extends EventArgs implements IStatusEventData
O tipo StatusEventArgs expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Message | The status message returned by the replication agent. | |
MessageStatus | The current operational status of the replication agent. | |
PercentCompleted | The estimated amount of the overall synchronization that has completed. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Comentários
The Status event returns a status message, status code, and percentage complete information from the replication agent during synchronization. The AgentCore..::..StatusEventHandler returns a StatusEventArgs object when the Status event occurs during agent execution.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.