共用方式為


ResourceActivatePreEventArgs.CancelReason Property

Reads or writes text that explains why activation of the resource is to be canceled.

Namespace:  Microsoft.Office.Project.Server.Events
Assembly:  Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)

Syntax

'Declaration
Public Property CancelReason As String
    Get
    Set
'Usage
Dim instance As ResourceActivatePreEventArgs
Dim value As String

value = instance.CancelReason

instance.CancelReason = value
public string CancelReason { get; set; }

Property Value

Type: System.String

Implements

IPreEventArgs.CancelReason

See Also

Reference

ResourceActivatePreEventArgs Class

ResourceActivatePreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace