Share via


writeHeaders Method (Windows Embedded CE 6.0)

1/6/2010

This method writes a header. The writeHeaders method is called if the willWriteHeaders method of the header handler object returns TRUE. In this case, the writeHeaders method uses the ISoapSerializer interface pointer provided as input to write the header content.

Syntax

HRESULT writeHeaders(
  ISoapSerializer* pSerializer, 
  IDispatch* pObject 
);

Parameters

  • pSerializer
    [in] Reference to an ISoapSerializer implementation.
  • pObject
    [in] Reference to the object that handed the request on the server. The pObject is null when the header handler is used on the client.

Return Value

The following table describes the common return values.

Value Description

S_OK

Success.

E_NOTIMPL

The function contains no implementation.

E_OUTOFMEMORY

Out of memory.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IHeaderHandler

Concepts

Handling SOAP Headers