C# Class Microsoft.Protocols.TestSuites.MS_ASAIRS.MS_ASAIRSAdapter

Adapter class of MS-ASAIRS.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASAIRSAdapter
Mostra file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
FolderSync ( FolderSyncRequest request ) : FolderSyncResponse

Synchronizes the collection hierarchy.

Initialize ( ITestSite testSite ) : void

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

ItemOperations ( ItemOperationsRequest request, DeliveryMethodForFetch deliveryMethod ) : ItemOperationsStore

Retrieves an item from the server by sending ItemOperationsRequest object.

ItemOperations ( string request ) : SendStringResponse

Retrieves an item from the server by sending the raw string request.

MeetingResponse ( MeetingResponseRequest request ) : MeetingResponseResponse

Accept, tentatively accept, or decline a meeting request in the user's Inbox folder or Calendar folder

Search ( SearchRequest request ) : SearchStore

Finds entries in an address book, mailbox or document library by sending SearchRequest object.

Search ( string request ) : SendStringResponse

Finds entries in an address book, mailbox or document library by sending raw string request.

SendMail ( SendMailRequest request ) : SendMailResponse

Sends MIME-formatted e-mail messages to the server.

SmartForward ( SmartForwardRequest request ) : SmartForwardResponse

Forward messages without retrieving the full, original message from the server.

SwitchUser ( string userName, string userPassword, string userDomain ) : void

Changes user to call ActiveSync operation.

Sync ( string request ) : SendStringResponse

Synchronizes the changes in a collection between the client and the server by sending raw string request.

Sync ( SyncRequest request ) : SyncStore

Synchronizes the changes in a collection between the client and the server by sending SyncRequest object.

Method Details

FolderSync() public method

Synchronizes the collection hierarchy.
public FolderSync ( FolderSyncRequest request ) : FolderSyncResponse
request FolderSyncRequest A FolderSyncRequest object that contains the request information.
return FolderSyncResponse

Initialize() public method

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

ItemOperations() public method

Retrieves an item from the server by sending ItemOperationsRequest object.
public ItemOperations ( ItemOperationsRequest request, DeliveryMethodForFetch deliveryMethod ) : ItemOperationsStore
request ItemOperationsRequest An ItemOperationsRequest object which contains the request information.
deliveryMethod DeliveryMethodForFetch Delivery method specifies what kind of response is accepted.
return Microsoft.Protocols.TestSuites.Common.DataStructures.ItemOperationsStore

ItemOperations() public method

Retrieves an item from the server by sending the raw string request.
public ItemOperations ( string request ) : SendStringResponse
request string A string which contains the raw ItemOperations request.
return SendStringResponse

MeetingResponse() public method

Accept, tentatively accept, or decline a meeting request in the user's Inbox folder or Calendar folder
public MeetingResponse ( MeetingResponseRequest request ) : MeetingResponseResponse
request MeetingResponseRequest A MeetingResponseRequest object that contains the request information.
return MeetingResponseResponse

Search() public method

Finds entries in an address book, mailbox or document library by sending SearchRequest object.
public Search ( SearchRequest request ) : SearchStore
request SearchRequest A SearchRequest object that contains the request information.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SearchStore

Search() public method

Finds entries in an address book, mailbox or document library by sending raw string request.
public Search ( string request ) : SendStringResponse
request string A string which contains the raw Search request.
return SendStringResponse

SendMail() public method

Sends MIME-formatted e-mail messages to the server.
public SendMail ( SendMailRequest request ) : SendMailResponse
request SendMailRequest A SendMailRequest object that contains the request information.
return SendMailResponse

SmartForward() public method

Forward messages without retrieving the full, original message from the server.
public SmartForward ( SmartForwardRequest request ) : SmartForwardResponse
request SmartForwardRequest A SmartForwardRequest object that contains the request information.
return SmartForwardResponse

SwitchUser() public method

Changes user to call ActiveSync operation.
public SwitchUser ( string userName, string userPassword, string userDomain ) : void
userName string The name of a user.
userPassword string The password of a user.
userDomain string The domain which the user belongs to.
return void

Sync() public method

Synchronizes the changes in a collection between the client and the server by sending raw string request.
public Sync ( string request ) : SendStringResponse
request string A string which contains the raw Sync request.
return SendStringResponse

Sync() public method

Synchronizes the changes in a collection between the client and the server by sending SyncRequest object.
public Sync ( SyncRequest request ) : SyncStore
request SyncRequest A SyncRequest object that contains the request information.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore