다음을 통해 공유


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.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class SPMobileMessageDeliveryReport _
    Inherits SPMobileMessageServiceResponse
'Usage
Dim instance As SPMobileMessageDeliveryReport
public class SPMobileMessageDeliveryReport : SPMobileMessageServiceResponse

Remarks

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).

Examples

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>

Thread Safety

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

See Also

Reference

SPMobileMessageDeliveryReport Members

Microsoft.SharePoint.MobileMessage Namespace