SPMobileMessageWebService.BatchSendMessages Method
Sends the specified package of messages.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function BatchSendMessages ( _
package As SPMobileMessageBatchPackage _
) As List(Of SPMobileMessageDeliveryReport)
'Usage
Dim instance As SPMobileMessageWebService
Dim package As SPMobileMessageBatchPackage
Dim returnValue As List(Of SPMobileMessageDeliveryReport)
returnValue = instance.BatchSendMessages(package)
public List<SPMobileMessageDeliveryReport> BatchSendMessages(
SPMobileMessageBatchPackage package
)
Parameters
package
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessageBatchPackageThe 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.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRange | package has no messages or it has more than the allowed number of messages. |
Remarks
BatchSendMessages(SPMobileMessageBatchPackage) creates a proxy for the Web service and invokes the Office Mobile Service (OMS)-defined DeliverXmsBatch Web method.
See Also
Reference
SPMobileMessageWebService Class