Sdílet prostřednictvím


CdoEventStatus Enum

Topic Last Modified: 2006-06-13

The CdoEventStatus enumeration is used when implementing a transport event sink using Collaboration Data Objects (CDO). The second argument to the various event  interface methods, such as OnArrival Method and OnPost Method, is set to this enumeration type. Event sinks signal to the event source whether to continue running subsequent sinks, or to skip all remaining sinks and return.

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Values

Name Value Description

cdoRunNextSink

0

Proceed to run the next sink.

cdoSkipRemainingSinks

1

Skip (do not notify) any remaining sinks.

Remarks

SMTP and Network News Transfer Protocol (NNTP) transport event sinks are processed by the event source in serialized fashion. In other words, each sink has a priority relative to others for a particular event, and the sinks are notified one at a time. The event source proceeds from the highest priority sink to the lowest, and for each sink, it checks the returned CdoEventStatus value. If the sink sets the value to cdoSkipRemainingSinks, then the event source does not proceed to notify any lower priority (remaining) sinks.

For more information, see one of the following event-related interfaces:

ISMTPOnArrival Interface

INNTPOnPost Interface

INNTPOnPostFinal Interface

INNTPOnPostEarly Interface

For information about implementing SMTP and NNTP transport event sinks, see SMTP/NNTP Transport Event Sinks with CDO.