共用方式為


SPMobileMessageSmsBuilder Members

Include Protected Members
Include Inherited Members

Provides members to manage the final construction of the Short Message Service (SMS) message that is sent to the messaging service for delivery and to add certain metadata to it.

The SPMobileMessageSmsBuilder type exposes the following members.

Constructors

  Name Description
Public method SPMobileMessageSmsBuilder Initializes a new instance of the SPMobileMessageSmsBuilder class.

Top

Properties

  Name Description
Public property Message Gets the message object. (Inherited from SPMobileMessageBuilder.)
Public property ScheduledSendingTime Gets or sets the UTC time that the message should be sent. (Inherited from SPMobileMessageBuilder.)
Public property SourceType Sets the source type of the message, such as whether it is an Outlook reminder message. (Inherited from SPMobileMessageBuilder.)

Top

Methods

  Name Description
Public method AddChunk Adds text to the message that the sender prefers to keep together if the message as a whole must be split because it exceeds the size limitation of the messaging service provider.
Public method AddCustomProperties Adds custom properties to the final message. (Inherited from SPMobileMessageBuilder.)
Public method AddRecipient Adds a recipient for the message.
Public methodStatic member BuildSmsMessage Creates the complete final XML of a Short Message Service (SMS) message for a specified recipient.
Public method EndTextMessage() Completes a text message building transaction.
Public method EndTextMessage(Int32, Boolean, Int32) Completes a text message building transaction.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetMessageXml Gets the final XML for the whole message including any custom properties and metadata that was added by other members of the SPMobileMessageBuilder object. (Inherited from SPMobileMessageBuilder.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetTextContent(String) Creates the complete final XML of a Short Message Service (SMS) message from the specified text.
Public method SetTextContent(String, Int32) Creates the complete final XML of a Short Message Service (SMS) message from the specified text.
Public method StartTextMessage Begins a text message building transaction by carrying out preparation tasks so that the message can be divided into coherent chunks.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPMobileMessageSmsBuilder Class

Microsoft.SharePoint.MobileMessage Namespace