C# 클래스 Microsoft.Protocols.TestSuites.MS_OXWSFOLD.MS_OXWSFOLDAdapter

The class provides methods to verify data/operation format in MS-OXWSFOLD.
상속: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSFOLDAdapter
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

ConfigureSOAPHeader() 공개 메소드

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

CopyFolder() 공개 메소드

Copy one folder into another one.
public CopyFolder ( CopyFolderType request ) : CopyFolderResponseType
request CopyFolderType Request of CopyFolder operation.
리턴 CopyFolderResponseType

CreateFolder() 공개 메소드

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

CreateManagedFolder() 공개 메소드

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.
리턴 CreateManagedFolderResponseType

DeleteFolder() 공개 메소드

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

EmptyFolder() 공개 메소드

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.
리턴 EmptyFolderResponseType

GetFolder() 공개 메소드

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.
리턴 GetFolderResponseType

Initialize() 공개 메소드

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.
리턴 void

MoveFolder() 공개 메소드

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

SwitchUser() 공개 메소드

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
리턴 void

UpdateFolder() 공개 메소드

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