IPreEventArgs.CancelEvent method
Cancels an event.
Namespace: Microsoft.Office.Project.Server.Events
Assembly: Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)
Syntax
'Declaration
Sub CancelEvent ( _
reason As String _
)
'Usage
Dim instance As IPreEventArgs
Dim reason As String
instance.CancelEvent(reason)
void CancelEvent(
string reason
)
Parameters
reason
Type: System.StringThe text that explains why an event is to be canceled.