SPMobileSmsMessage Constructor
Initializes a new instance of the SPMobileSmsMessage class.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
account As SPMobileMessagingAccount _
)
'Usage
Dim account As SPMobileMessagingAccount
Dim instance As New SPMobileSmsMessage(account)
public SPMobileSmsMessage(
SPMobileMessagingAccount account
)
Parameters
account
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessagingAccountThe message sender’s account with the provider of the messaging service.
Exceptions
Exception | Condition |
---|---|
SPException | Some critical property in account is a null reference (Nothing in Visual Basic). |