共用方式為


ResourceActivatePreEventArgs Members

Include Protected Members
Include Inherited Members

Represents methods and properties in the pre-event arguments for the OnActivating event handler method.

The ResourceActivatePreEventArgs type exposes the following members.

Constructors

  Name Description
Public method ResourceActivatePreEventArgs Creates an instance of the ResourceActivatePreEventArgs class; used internally.

Top

Properties

  Name Description
Public property Cancel Reads or writes a Boolean value that indicates whether to cancel the activation of the resource.
Public property CancelReason Reads or writes text that explains why activation of the resource is to be canceled.
Public property Resource Gets the GUID of the resource that is to be activated.

Top

Methods

  Name Description
Public method CancelEvent Cancels the activation of the resource.
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

ResourceActivatePreEventArgs Class

Microsoft.Office.Project.Server.Events Namespace