共用方式為


PreEventArgs.CancelReason Property

Reads or writes text that explains why an event that is associated with a project entity 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 PreEventArgs
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

PreEventArgs Class

PreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace