Platform SDK: CDO for Windows 2000

OnPostFinal Method

The OnPostFinal method is called by the Network News Transfer Protocol (NNTP) event dispatcher on registered OnPostFinal event sinks after a message or news feed has been posted by the NNTP service.

[Visual Basic]
Sub OnPostFinal(ByVal Msg as CDO.Message, EventStatus as CdoEventStatus)
[C++]
HRESULT OnPostFinal(IMessage* Msg, CdoEventStatus* EventStatus);
[IDL]
HRESULT OnPostFinal([in] IMessage* Msg, [in,out] CdoEventStatus* EventStatus);

Parameters

Msg
The IMessage interface on a Message object that holds the message that arrived.
EventStatus
On return, the status of the event. The event sink signals to the source whether to continue notifying subsequent event sinks or to stop and return. The CdoEventStatus enumeration contains the possible values for this parameter.

Remarks

The OnPostFinal event for the NNTP service is synchronous, which means that the event dispatcher thread is blocked for the duration of time required for all bound event sinks to be created (if necessary) and executed, or until a sink preemptively stops event notifications by returning the EventStatus parameter with the value cdoSkipRemainingSinks.

See Also

SMTP/NNTP Transport Event Sinks with CDO

INNTPOnPost Interface

INNTPOnPostEarly Interface

CdoEventStatus Enum

IMessage Interface