Share via


SPMobileMessageDeliveryReport.GetDeliveryCode Method

Gets the DeliveryCode for the first report item; but may get a different DeliveryCode when a service-wide error has occurred.

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

Syntax

'Declaration
Public Function GetDeliveryCode As SPMobileMessageDeliveryCode
'Usage
Dim instance As SPMobileMessageDeliveryReport
Dim returnValue As SPMobileMessageDeliveryCode

returnValue = instance.GetDeliveryCode()
public SPMobileMessageDeliveryCode GetDeliveryCode()

Return Value

Type: Microsoft.SharePoint.MobileMessage.SPMobileMessageDeliveryCode
The error or informational code for the first item in the Items property. But see theRemarks for an important exception.

Exceptions

Exception Condition
Exception

Some error prevented valid xmsResponse markup from being created.

Remarks

If any item was the result of a service-wide error; this overload returns the DeliveryCode of the first such item, even if it is not the absolute first item in the in the Items property.

See Also

Reference

SPMobileMessageDeliveryReport Class

SPMobileMessageDeliveryReport Members

Microsoft.SharePoint.MobileMessage Namespace