C# Class Microsoft.Protocols.TestSuites.MS_OXWSMTGS.MS_OXWSFOLDAdapter

Adapter class of MS-OXWSFOLD.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSFOLDAdapter
显示文件 Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
CreateFolder ( CreateFolderType request ) : CreateFolderResponseType

Create a new folder within a specific folder.

DeleteFolder ( DeleteFolderType request ) : DeleteFolderResponseType

Delete a folder from mailbox.

GetFolder ( GetFolderType request ) : GetFolderResponseType

Get folders, Calendar folders, Contacts folders, Tasks folders, and search folders.

Initialize ( TestTools testSite ) : void

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

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

Switch the current user to the new one, with the identity of the new user to communicate with Exchange Web Service.

Method Details

CreateFolder() public method

Create a new folder within a specific folder.
public CreateFolder ( CreateFolderType request ) : CreateFolderResponseType
request Microsoft.Protocols.TestSuites.Common.CreateFolderType Request of CreateFolder operation.
return CreateFolderResponseType

DeleteFolder() public method

Delete a folder from mailbox.
public DeleteFolder ( DeleteFolderType request ) : DeleteFolderResponseType
request Microsoft.Protocols.TestSuites.Common.DeleteFolderType Request DeleteFolder operation.
return DeleteFolderResponseType

GetFolder() public method

Get folders, Calendar folders, Contacts folders, Tasks folders, and search folders.
public GetFolder ( GetFolderType request ) : GetFolderResponseType
request Microsoft.Protocols.TestSuites.Common.GetFolderType Request of GetFolder operation.
return GetFolderResponseType

Initialize() public method

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

SwitchUser() public method

Switch the current user to the new one, with the identity of the new user to communicate with Exchange Web Service.
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, in which a user is
return void