Partilhar via


SPMobileMessageBatchPackage.AddMessage Method

Adds the specified message to the package.

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

Syntax

'Declaration
Public Sub AddMessage ( _
    message As SPMobileMessage _
)
'Usage
Dim instance As SPMobileMessageBatchPackage
Dim message As SPMobileMessage

instance.AddMessage(message)
public void AddMessage(
    SPMobileMessage message
)

Parameters

Exceptions

Exception Condition
ArgumentException

message is a null reference (Nothing in Visual Basic).

See Also

Reference

SPMobileMessageBatchPackage Class

SPMobileMessageBatchPackage Members

Microsoft.SharePoint.MobileMessage Namespace