IWSDInboundAttachment::Close (Compact 2013)
3/26/2014
This method closes the current attachment MIME data stream.
Syntax
HRESULT Close();
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. |
Remarks
This method can be used to terminate the transfer of an incoming attachment while the transfer is in progress.
If the IWSDInboundAttachment::Read method completed successfully with a return value of S_OK, then it is not necessary to call Close to terminate the session. Instead, call Release() on the IWSDInboundAttachment interface.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |