SPMobileMessageSmsBuilder.EndTextMessage Method

Completes a text message building transaction.

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

Syntax

'Declaration
Public Function EndTextMessage As Boolean
'Usage
Dim instance As SPMobileMessageSmsBuilder
Dim returnValue As Boolean

returnValue = instance.EndTextMessage()
public bool EndTextMessage()

Return Value

Type: System.Boolean
true if all the intended text was included in the message; otherwise, false.

Remarks

A call of one of the overloads of EndTextMessage() is the final part of a text message building transaction. The transaction begins with a call of StartTextMessage(). One or more calls of AddChunk(String) constitute the middle part of the transaction.

This overload behaves just as the other overload of EndTextMessage(Int32, Boolean, Int32) would if it were passed 1, false, and MaxValue, as parameters.

See Also

Reference

SPMobileMessageSmsBuilder Class

SPMobileMessageSmsBuilder Members

EndTextMessage Overload

Microsoft.SharePoint.MobileMessage Namespace