StatusEventArgs 类

Represents status information returned by a replication agent when the Status event occurs.

继承层次结构

System. . :: . .Object
  System. . :: . .EventArgs
    Microsoft.SqlServer.Replication..::..StatusEventArgs

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

语法

声明
<ComVisibleAttribute(True)> _
<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public Class StatusEventArgs _
    Inherits EventArgs _
    Implements IStatusEventData
用法
Dim instance As StatusEventArgs
[ComVisibleAttribute(true)]
[GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
public class StatusEventArgs : EventArgs, 
    IStatusEventData
[ComVisibleAttribute(true)]
[GuidAttribute(L"71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
public ref class StatusEventArgs : public EventArgs, 
    IStatusEventData
[<ComVisibleAttribute(true)>]
[<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
type StatusEventArgs =  
    class
        inherit EventArgs
        interface IStatusEventData
    end
public class StatusEventArgs extends EventArgs implements IStatusEventData

StatusEventArgs 类型公开以下成员。

构造函数

  名称 说明
公共方法 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.

页首

属性

  名称 说明
公共属性 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.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。