SPMobileMessage Constructor
Initializes a new instance of the SPMobileMessage class.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
account As SPMobileMessagingAccount, _
format As SPMobileMessage.Format, _
requiredService As SPMobileMessage.RequiredService _
)
'Usage
Dim account As SPMobileMessagingAccount
Dim format As SPMobileMessage.Format
Dim requiredService As SPMobileMessage.RequiredService
Dim instance As New SPMobileMessage(account, _
format, requiredService)
public SPMobileMessage(
SPMobileMessagingAccount account,
SPMobileMessage.Format format,
SPMobileMessage.RequiredService requiredService
)
Parameters
account
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessagingAccountInformation about the sender’s account with the provider of the mobile messaging service.
format
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessage.FormatA value that specifies whether the message uses the Short Message Service (SMS) or Multimedia Message Service (MMS) XML format.
requiredService
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessage.RequiredServiceA value that specifies which set of the service provider’s limitations is applicable to the message.