Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the SPMobileMessageWebService class with the specified account.
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 SPMobileMessageWebService(account)
public SPMobileMessageWebService(
    SPMobileMessagingAccount account
)
Parameters
account
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessagingAccountThe sender’s account with the Web service.
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | account is a null reference (Nothing in Visual Basic).  | 
See Also
Reference
SPMobileMessageWebService Class