共用方式為


IPreEventArgs.CancelReason Property

The text that explains why an event 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
Property CancelReason As String
    Get
    Set
'Usage
Dim instance As IPreEventArgs
Dim value As String

value = instance.CancelReason

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

Property Value

Type: System.String

See Also

Reference

IPreEventArgs Interface

IPreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace