Compartir a través de


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.String
    The text that explains why an event is to be canceled.

See Also

Reference

IPreEventArgs Interface

IPreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace