PictureRequest Class

Indicates that the client is requesting that photos be returned in the server response. The Picture is not supported when the protocol version is 12.1 or 14.0. Contains the data related to the photos request.
Inheritance Hierarchy
SystemObject
  Aspose.Email.Clients.ActiveSync.TransportLayerPictureRequest

Namespace:  Aspose.Email.Clients.ActiveSync.TransportLayer
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public class PictureRequest

The PictureRequest type exposes the following members.

Constructors
  NameDescription
Public methodPictureRequest
Initializes a new instance of the PictureRequest class
Properties
  NameDescription
Public propertyMaxPictures
Limits the number of contact photos returned in the server response. The MaxPictures is not supported when the protocol version is 12.1 or 14.0. The server returns the first N results that have contact photos, where N is the value of the MaxPictures. After the MaxPictures limit is reached, the server returns Status value 173 (NoPicture) if the contact has no photo, Status value 174 (PictureTooLarge) if the contact’s photo is too large, or Status value 175 (PictureLimitReached) if the contact has a photo but the MaxPictures limit was reached. Note that the MaxPictures identifies the number of contact photos returned per query. Therefore, if the client includes three recipients to resolve and sets the MaxPictures value to 3 in the ResolveRecipients command request, a maximum of 9 contact photos can be returned.
Public propertyMaxSize
Specifies the maximum size of an individual contact photo that is returned in the response, in bytes. The MaxSize is not supported when the protocol version is 12.1 or 14.0. The maximum value of the MaxSize is 100 KB or 102400 bytes.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also