Export (0) Print
Expand All

SPMobileMessageDeliveryReport Class

Represents a report from an Office Mobile Service (OMS) messaging Web service about the success or failure of an attempt to send a message.

System.Object
  Microsoft.SharePoint.MobileMessage.SPMobileMessageServiceResponse
    Microsoft.SharePoint.MobileMessage.SPMobileMessageDeliveryReport

Namespace:  Microsoft.SharePoint.MobileMessage
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public class SPMobileMessageDeliveryReport : SPMobileMessageServiceResponse

An SPMobileMessageDeliveryReport object is a managed code version of an OMS xmsResponse element received from the Web service. An xmsResponse is sent by the Web service in response to a call of its DeliverXms method.

Just as the xmsResponse element has child error elements a SPMobileMessageDeliveryReport object has a collection of SPMobileMessageDeliveryReportItem objects in its Items property.

In addition, an xmsResponse element can be an item within an xmsResponses type of response to a call of the DeliverXmsBatch method.

For more information about OMS, see the series of articles beginning with Outlook 2007 Mobile Service Guidelines (Part 1 of 3).

The following is an example of an OMS xmsResponse element. In this case, the message was successfully sent.


<xmsResponse id="0">
  <error code="ok" severity="neutral" />
  <error code="serviceupdate" severity="neutral">
    <content>2009-08-28T08:59:10Z</content>
  </error>
</xmsResponse>

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft