C# Класс Microsoft.Protocols.TestSuites.MS_ASNOTE.MS_ASNOTEAdapter

Adapter class of MS-ASNOTE.
Наследование: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASNOTEAdapter
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

FolderSync() публичный Метод

Synchronizes the collection hierarchy
public FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse
folderSyncRequest FolderSyncRequest FolderSync command request.
Результат FolderSyncResponse

Initialize() публичный Метод

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.
Результат void

ItemOperations() публичный Метод

Fetch all information about exchange object
public ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore
itemOperationsRequest ItemOperationsRequest ItemOperations command request.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.ItemOperationsStore

Search() публичный Метод

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.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SearchStore

Sync() публичный Метод

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.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore