Share via


AfterEvent Enum

Definition

Determines how the WmiEventWatcherTask responds when the task receives the specified Windows Management Instrumentation (WMI) event.

public enum class AfterEvent
public enum AfterEvent
type AfterEvent = 
Public Enum AfterEvent
Inheritance
AfterEvent

Fields

Name Value Description
ReturnWithSuccess 0

Logs that the user chose to treat the event notification as a success, and stops waiting for the logged event.

ReturnWithFailure 1

Logs that the user chose to treat the event notification as a failure, and stops waiting for the logged event. This is the default value.

WatchfortheEventAgain 2

Logs that the user chose to continue waiting for the event.

Applies to