C# Class Microsoft.Protocols.TestSuites.MS_ASNOTE.MS_ASNOTEAdapter

Adapter class of MS-ASNOTE.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASNOTEAdapter
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode Description
FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse

Synchronizes the collection hierarchy

Initialize ( TestTools testSite ) : void

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.

ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore

Fetch all information about exchange object

Search ( string collectionId, string subject, bool isLoopNeeded, int expectedCount ) : SearchStore

Loop to get the results of the specific query request by Search command.

Sync ( SyncRequest syncRequest, bool isResyncNeeded ) : SyncStore

Sync data from the server

Method Details

FolderSync() public méthode

Synchronizes the collection hierarchy
public FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse
folderSyncRequest FolderSyncRequest FolderSync command request.
Résultat FolderSyncResponse

Initialize() public méthode

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
public Initialize ( TestTools testSite ) : void
testSite TestTools Transfer ITestSite into adapter, make adapter can use ITestSite's function.
Résultat void

ItemOperations() public méthode

Fetch all information about exchange object
public ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore
itemOperationsRequest ItemOperationsRequest ItemOperations command request.
Résultat Microsoft.Protocols.TestSuites.Common.DataStructures.ItemOperationsStore

Search() public méthode

Loop to get the results of the specific query request by Search command.
public Search ( string collectionId, string subject, bool isLoopNeeded, int expectedCount ) : SearchStore
collectionId string The CollectionId of the folder to search.
subject string The subject of the note to get.
isLoopNeeded bool A boolean value specify whether need the loop
expectedCount int The expected number of the note to be found.
Résultat Microsoft.Protocols.TestSuites.Common.DataStructures.SearchStore

Sync() public méthode

Sync data from the server
public Sync ( SyncRequest syncRequest, bool isResyncNeeded ) : SyncStore
syncRequest SyncRequest Sync command request.
isResyncNeeded bool A bool value indicates whether need to re-sync when the response contains MoreAvailable element.
Résultat Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore