MI_CancellationReason enumeration

Value to pass to an operation cancel request to notify the system of the reason the operation is being canceled. If the service is being shutdown, it may pass one of these values to the provider as well.

Syntax


typedef enum _MI_CancellationReason { 
  MI_REASON_NONE         = 0,
  MI_REASON_TIMEOUT      = 1,
  MI_REASON_SHUTDOWN     = 2,
  MI_REASON_SERVICESTOP  = 3
} MI_CancellationReason;

Constants

MI_REASON_NONE

No reason for cancellation.

MI_REASON_TIMEOUT

Operation timed out.

MI_REASON_SHUTDOWN

The system is being shutdown.

MI_REASON_SERVICESTOP

The service is being stopped.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Header

Mi.h

See also

MI_CancelCallback

 

 

Show:
© 2014 Microsoft