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
message
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessageThe message that is added.
Exceptions
Exception | Condition |
---|---|
ArgumentException | message is a null reference (Nothing in Visual Basic). |
See Also
Reference
SPMobileMessageBatchPackage Class