Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates the complete final XML of a Short Message Service (SMS) message for a specified recipient.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function BuildSmsMessage ( _
account As SPMobileMessagingAccount, _
recipient As String, _
messageText As String _
) As String
'Usage
Dim account As SPMobileMessagingAccount
Dim recipient As String
Dim messageText As String
Dim returnValue As String
returnValue = SPMobileMessageSmsBuilder.BuildSmsMessage(account, _
recipient, messageText)
public static string BuildSmsMessage(
SPMobileMessagingAccount account,
string recipient,
string messageText
)
Parameters
account
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessagingAccountThe sender’s account with the messaging service.
recipient
Type: System.StringThe recipient, typically identified by a mobile telephone number.
messageText
Type: System.StringThe text for the message.
Return Value
Type: System.String
The complete XML of the message for passing to the messaging service.
See Also
Reference
SPMobileMessageSmsBuilder Class