SPMobileMessageWebService.BatchSendMessages method

Sends the specified package of messages.

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

public List<SPMobileMessageDeliveryReport> BatchSendMessages(
	SPMobileMessageBatchPackage package
)

Parameters

package
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessageBatchPackage

The package of messages.

Return value

Type: System.Collections.Generic.List<SPMobileMessageDeliveryReport>
An object that contains reports about the delivery success or failure of each of the messages in the package.

ExceptionCondition
ArgumentOutOfRange

package has no messages or it has more than the allowed number of messages.

BatchSendMessages(SPMobileMessageBatchPackage) creates a proxy for the Web service and invokes the Office Mobile Service (OMS)-defined DeliverXmsBatch Web method.

Show: