CalendarPreEventArgs.CancelEvent Method
Cancels an event that is associated with a calendar.
Namespace: Microsoft.Office.Project.Server.Events
Assembly: Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)
Syntax
'Declaration
Public Sub CancelEvent ( _
reason As String _
)
'Usage
Dim instance As CalendarPreEventArgs
Dim reason As String
instance.CancelEvent(reason)
public void CancelEvent(
string reason
)
Parameters
- reason
Type: System.String
The text that explains why a calendar event is to be cancelled.
Implements
IPreEventArgs.CancelEvent(String)