共用方式為


PreEventArgs Members

Include Protected Members
Include Inherited Members

Provides a common set of methods and properties in the pre-event arguments in all project events.

The PreEventArgs type exposes the following members.

Constructors

  Name Description
Protected method PreEventArgs Creates an instance of the PreEventArgs class; used internally.

Top

Properties

  Name Description
Public property Cancel Reads or writes a Boolean value that indicates whether to cancel an event that is associated with a project entity.
Public property CancelReason Reads or writes text that explains why an event that is associated with a project entity is to be canceled.

Top

Methods

  Name Description
Public method CancelEvent Cancels an event that is associated with a project entity.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

PreEventArgs Class

Microsoft.Office.Project.Server.Events Namespace