CalendarPreEventArgs.CancelEvent 方法

取消与日历相关联的事件。

命名空间:  Microsoft.Office.Project.Server.Events
程序集:  Microsoft.Office.Project.Server.Events.Receivers(位于 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

语法

声明
Public Sub CancelEvent ( _
    reason As String _
)
用法
Dim instance As CalendarPreEventArgs
Dim reason As String

instance.CancelEvent(reason)
public void CancelEvent(
    string reason
)

参数

  • reason
    类型:System.String

    文字,解释了为什么日历事件是被取消。

实现

IPreEventArgs.CancelEvent(String)

另请参阅

引用

CalendarPreEventArgs 类

CalendarPreEventArgs 成员

Microsoft.Office.Project.Server.Events 命名空间