Share via


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
<DataMemberAttribute> _
Public Property CancelReason As String
    Get
    Set
'Usage
Dim instance As PreEventArgs
Dim value As String

value = instance.CancelReason

instance.CancelReason = value
[DataMemberAttribute]
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