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

The class provides methods to verify data/operation format in MS-OXWSFOLD.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSFOLDAdapter
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode Description
ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void

Configure the SOAP header before calling operations.

CopyFolder ( CopyFolderType request ) : CopyFolderResponseType

Copy one folder into another one.

CreateFolder ( CreateFolderType request ) : CreateFolderResponseType

Create a new folder within a specific folder.

CreateManagedFolder ( CreateManagedFolderRequestType request ) : CreateManagedFolderResponseType

Create a managed folder in server, the folder should be added in mailbox by server administrator in advance.

DeleteFolder ( DeleteFolderType request ) : DeleteFolderResponseType

Delete a folder from mailbox.

EmptyFolder ( EmptyFolderType request ) : EmptyFolderResponseType

Empty identified folders and can be used to delete the subfolders of the specified folder.

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.

MoveFolder ( MoveFolderType request ) : MoveFolderResponseType

Move folders from a specified parent folder to another parent folder.

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.

UpdateFolder ( UpdateFolderType request ) : UpdateFolderResponseType

Modify properties of an existing folder in the server store.

Private Methods

Méthode Description
VerifyAllRelatedRequirements ( bool isSchemaValidated, BaseResponseMessageType responseMessage ) : void

Verify the requirements relate to all operations.

VerifyCopyFolderResponse ( bool isSchemaValidated ) : void

Verify requirements related to CopyFolder response.

VerifyCreateFolderResponse ( bool isSchemaValidated, CreateFolderResponseType createFolderResponse ) : void

Verify requirements of CreateFolder response.

VerifyCreateManagedFolderResponse ( bool isSchemaValidated ) : void

Verify requirements of CreateManagedFolder operation.

VerifyDeleteFolderResponse ( bool isSchemaValidated ) : void

Verify requirements of DeleteFolder operation.

VerifyEmptyFolderResponse ( bool isSchemaValidated ) : void

Verify EmptyFolder operation requirements.

VerifyGetFolderResponse ( GetFolderResponseType getFolderResponse, bool isSchemaValidated ) : void

Verify GetFolder operation requirements.

VerifyMoveFolderResponse ( bool isSchemaValidated ) : void

Verify MoveFolder operation requirements.

VerifySoapVersion ( ) : void

Verify the SOAP version.

VerifyTransportType ( ) : void

Verify the transport related requirements.

VerifyUpdateFolderResponse ( bool isSchemaValidated ) : void

Verify UpdateFolder operation requirements.

Method Details

ConfigureSOAPHeader() public méthode

Configure the SOAP header before calling operations.
public ConfigureSOAPHeader ( object>.Dictionary headerValues ) : void
headerValues object>.Dictionary Specify the values for SOAP header.
Résultat void

CopyFolder() public méthode

Copy one folder into another one.
public CopyFolder ( CopyFolderType request ) : CopyFolderResponseType
request CopyFolderType Request of CopyFolder operation.
Résultat CopyFolderResponseType

CreateFolder() public méthode

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

CreateManagedFolder() public méthode

Create a managed folder in server, the folder should be added in mailbox by server administrator in advance.
public CreateManagedFolder ( CreateManagedFolderRequestType request ) : CreateManagedFolderResponseType
request Microsoft.Protocols.TestSuites.Common.CreateManagedFolderRequestType Request of CreateManagedFolder operation.
Résultat CreateManagedFolderResponseType

DeleteFolder() public méthode

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

EmptyFolder() public méthode

Empty identified folders and can be used to delete the subfolders of the specified folder.
public EmptyFolder ( EmptyFolderType request ) : EmptyFolderResponseType
request Microsoft.Protocols.TestSuites.Common.EmptyFolderType Request of EmptyFolder operation.
Résultat EmptyFolderResponseType

GetFolder() public méthode

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.
Résultat GetFolderResponseType

Initialize() public méthode

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.
Résultat void

MoveFolder() public méthode

Move folders from a specified parent folder to another parent folder.
public MoveFolder ( MoveFolderType request ) : MoveFolderResponseType
request MoveFolderType Request of MoveFolder operation.
Résultat MoveFolderResponseType

SwitchUser() public méthode

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
Résultat void

UpdateFolder() public méthode

Modify properties of an existing folder in the server store.
public UpdateFolder ( UpdateFolderType request ) : UpdateFolderResponseType
request Microsoft.Protocols.TestSuites.Common.UpdateFolderType Request of UpdateFolder.
Résultat UpdateFolderResponseType