Partilhar via


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

Exceptions

Exception Condition
SPException

Some critical property in account is a null reference (Nothing in Visual Basic).

See Also

Reference

SPMobileSmsMessage Class

SPMobileSmsMessage Members

Microsoft.SharePoint.MobileMessage Namespace