Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
MessagingService Class
MessagingService Methods
ClearAllLocalData Method
CreateConversation Method
GetAutomaticallyUpdateLastAccessTimeCapability Method
GetClearLocalDataCapability Method
GetCreateConversationCapability Method
GetHtmlCapability Method
GetMessageDeliveryReadStateMonitoringCapability Method
GetMessageReadReportingCapability Method
GetMessagingLimits Method
GetNumberOfConversationsWithUnreadContent Method
GetNumberOfConversationsWithUnreadContentSinceLastAccess Method
GetRemoveConversationCapability Method
GetRetrieveConversationCapability Method
GetRetrieveOlderConversationCapability Method
GetRoutableDomains Method
GetSearchConversationCapability Method
GetSelfAddress Method
GetUpdateRefreshModeCapability Method
GetValidateParticipantAddressesCapability Method
LeaveAllConversations Method
LeaveConversations Method
MarkMessagesAsRead Method
Refresh Method
RemoveConversation Method
RemoveConversationCapability Method
RetrieveActiveConversations Method
RetrieveActiveConversationsForContact Method
SearchConversations Method
ServiceAvailable Method
SetRefreshMode Method
ValidateAddresses Method

MessagingService SearchConversations Method

Searches the user's conversations using specified filter criteria.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public void SearchConversations(
    	SearchConversationsWatcher watcher,
    	string query,
    	string dateAfter,
    	bool searchParticipants,
    	bool searchSubject,
    	bool searchBody,
    	uint numResults
    )

#### Parameters

watcher
  Type: Avaya.ClientServices
  SearchConversationsWatcher
  A DataRetrievalWatcher
  T, E
  object, created by the application, to track the progress of the requested operation. Prior to calling this method, the application should have installed event handlers on the watcher object for the events it is interested in.
query
  Type: System
  String
  A query string to match.
dateAfter
  Type: System
  String
  An optional ISO-8601 date string. When specified, this filters messages based on each message's LastModifiedDate property. Leave empty if all messages are to be searched.
searchParticipants
  Type: System
  Boolean
  Specify true if participants are to be searched, false otherwise.
searchSubject
  Type: System
  Boolean
  Specify true if conversation subjects are to be searched, false otherwise.
searchBody
  Type: System
  Boolean
  Specify true if message bodies are to be searched, false otherwise.
numResults
  Type: System
  UInt32
  The number of messages to be returned. If zero is specified, or it exceeds the maximum value as configured on the server, the server's maximum value will be used.

See Also

#### Reference

MessagingService Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.