Share via


Account Class

3/29/2010

Defines a generic messaging account. This is the base class for EmailAccount and SmsAccount.

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

Syntax

public class Account : IDisposable
'Declaration
Public Class Account
    Implements IDisposable

Remarks

Normally you would not work with this class directly. You would use one of the derived classes instead, which provide access to the folders and messages they contain. A message store serves as a local archive for storing messages on Windows Mobile devices. One message store is present for each messaging account, and each messaging account is associated with one message transport. For example, you might use a Windows Mobile Standard to service three POP3 e-mail accounts. In this scenario, you might have four message stores: one for Outlook e-mail transferred through ActiveSync, two for Outlook e-mail transferred via POP3, and one for text messages transferred via SMS.

Inheritance Hierarchy

System.Object
  Microsoft.WindowsMobile.PocketOutlook.Account
     Microsoft.WindowsMobile.PocketOutlook.EmailAccount
     Microsoft.WindowsMobile.PocketOutlook.SmsAccount

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

Account Members
Microsoft.WindowsMobile.PocketOutlook Namespace