共用方式為


UserDelegationActivatePreEventArgs.CancelEvent Method

Cancels the activation of the user delegation.

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 UserDelegationActivatePreEventArgs
Dim reason As String

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

Parameters

  • reason
    Type: System.String
    The test that explains why activation of the user delegation is to be canceled.

Implements

IPreEventArgs.CancelEvent(String)

See Also

Reference

UserDelegationActivatePreEventArgs Class

UserDelegationActivatePreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace