DoOnSerializeCustomSoapHeaders method

void DoOnSerializeCustomSoapHeaders(
  1. XmlWriter? writer
)
Calls the custom SOAP header serialization event handlers, if defined. The XmlWriter to which to write the custom SOAP headers.

Implementation

void DoOnSerializeCustomSoapHeaders(XmlWriter? writer) {
  EwsUtilities.Assert(writer != null,
      "ExchangeService.DoOnSerializeCustomSoapHeaders", "writer is null");
  this.OnSerializeCustomSoapHeaders.forEach((delegate) => delegate(writer));
}