Share via


SyncObjectEvents_ProgressEventHandler 委托

定义

这是针对相应对象中的事件的委派。 在对事件实现回调方法后,使用此委派将回调方法连接到该事件。 如果存在多个版本的事件接口,此委派将为指定版本的 Outlook 中的事件连接回调方法。

public delegate void SyncObjectEvents_ProgressEventHandler(OlSyncState State, System::String ^ Description, int Value, int Max);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void SyncObjectEvents_ProgressEventHandler(OlSyncState State, string Description, int Value, int Max);
Public Delegate Sub SyncObjectEvents_ProgressEventHandler(State As OlSyncState, Description As String, Value As Integer, Max As Integer)

参数

State
OlSyncState

标识同步进程的当前状态的值。

Description
String

有关同步进程的当前状态的文字说明。

Value
Int32

指定同步进程的当前值(如已同步处理的项目数目)。

Max
Int32

可以达到的 Value 最大值。 与 的ValueMax比率表示同步过程的完成百分比。

属性

适用于