IWSDOutboundAttachment::Abort (Windows Embedded CE 6.0)

1/6/2010

This method aborts the transfer of data on the attachment MIME data stream.

Syntax

HRESULT Abort();

Parameters

This method has no parameters.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

HRESULT_FROM_WIN32 (ERROR_INVALID_OPERATION)

Abort was called before IWSDOutboundAttachment::Write was called. You must call Write before terminating the attachment stream.

Remarks

The Abort method may be called when a IWSDOutboundAttachment::Close or Write method call failed with the error STG_S_BLOCK.

Close must not be called once Abort has been called on an attachment stream.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDOutboundAttachment
Web Services on Devices Interfaces