共用方式為


SPMobileMessage Members

Include Protected Members
Include Inherited Members

Represents a message to a mobile device.

The SPMobileMessage type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Account Gets the sender’s account with the provider of the messaging service.
Public property ContentParts Gets a list of the parts of the content of the message.
Public property CustomProperties Gets the custom properties of the message, if any, as a collection of name-value pairs.
Public property HasContent Gets a value that indicates whether the message has any content parts.
Public property RecipientList Gets the recipients of the message.
Public property ScheduledSendingTime Gets or sets the time the message should be sent in UTC.
Public property SourceType Gets or sets the source type of the message.
Public property Subject Gets or sets the subject of a Multimedia Message Service (MMS) message.

Top

Methods

  Name Description
Public method AddRecipient Adds a recipient for the message.
Protected method BuildCustomPropertySegment Creates custom data markup that conforms to the protocol of the provider of the messaging service.
Protected method BuildHeaderSegment Creates a header for the message that conforms to the protocol of the provider of the messaging service.
Protected method BuildUserInfoSegment Creates a user information markup message that conforms to the protocol of the provider of the messaging service.
Public method BuildXml Creates the message XML as a whole that conforms to the protocol of the provider of the messaging service.
Public method CreateContentPart Creates an object that represents part of the contents of the message.
Public method CreateTextContentPart Creates an object that represents text content in a message.
Public method Equals (Inherited from Object.)
Public method EstimateMessageSize Estimates the size of the message in bytes.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPMobileMessage Class

Microsoft.SharePoint.MobileMessage Namespace