Share via


CustomFieldsPreEventArgs.CancelReason Property

Reads or writes the text that explains why an event that is associated with a custom field 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 CustomFieldsPreEventArgs
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

CustomFieldsPreEventArgs Class

CustomFieldsPreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace