다음을 통해 공유


SPMobileMessageSmsBuilder.BuildSmsMessage Method

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

  • recipient
    Type: System.String

    The recipient, typically identified by a mobile telephone number.

Return Value

Type: System.String
The complete XML of the message for passing to the messaging service.

See Also

Reference

SPMobileMessageSmsBuilder Class

SPMobileMessageSmsBuilder Members

Microsoft.SharePoint.MobileMessage Namespace