Share via


SmsException Class

3/29/2010

The exception that is thrown after a failed attempt to send an SMS message (that is, whenever the function SmsMessage.Send fails).

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public class SmsException : Win32Exception
'Declaration
Public Class SmsException
    Inherits Win32Exception

Remarks

An SmsException exception object contains two pieces of information: an error code and an associated error string. The following list contains all of the possible sets of values:

Inheritance Hierarchy

System.Object
   System.Exception
     System.SystemException
       System.Runtime.InteropServices.ExternalException
         System.ComponentModel.Win32Exception
          Microsoft.WindowsMobile.PocketOutlook.SmsException
             Microsoft.WindowsMobile.PocketOutlook.InvalidSmsRecipientException
             Microsoft.WindowsMobile.PocketOutlook.ServiceCenterException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

SmsException Members
Microsoft.WindowsMobile.PocketOutlook Namespace