共用方式為


ProcessEventArgs.HasEvent Property

Definition

Indicates whether or not the arguments contain an event to be processed. In the case where no event is contained, then the creation of checkpoints and reading the last enqueued event properties are unavailable.

public bool HasEvent { get; }
member this.HasEvent : bool
Public ReadOnly Property HasEvent As Boolean

Property Value

true if the arguments contain an event to be processed; otherwise, false.

Applies to