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

The adapter class implements the method defined in interface IMS_OXWSCOREAdapter.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSCOREAdapter
显示文件 Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
CreateItem ( CreateItemType createItemRequest ) : CreateItemResponseType

Creates item on the server.

DeleteItem ( DeleteItemType deleteItemRequest ) : DeleteItemResponseType

Delete item on the server.

GetItem ( GetItemType getItemRequest ) : GetItemResponseType

Get item on the server.

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.

UpdateItem ( UpdateItemType updateItemRequest ) : UpdateItemResponseType

Update item on the server.

Method Details

CreateItem() public method

Creates item on the server.
public CreateItem ( CreateItemType createItemRequest ) : CreateItemResponseType
createItemRequest Microsoft.Protocols.TestSuites.Common.CreateItemType Create item operation request type.
return CreateItemResponseType

DeleteItem() public method

Delete item on the server.
public DeleteItem ( DeleteItemType deleteItemRequest ) : DeleteItemResponseType
deleteItemRequest Microsoft.Protocols.TestSuites.Common.DeleteItemType Delete item operation request type.
return DeleteItemResponseType

GetItem() public method

Get item on the server.
public GetItem ( GetItemType getItemRequest ) : GetItemResponseType
getItemRequest Microsoft.Protocols.TestSuites.Common.GetItemType Get item operation request type.
return GetItemResponseType

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

UpdateItem() public method

Update item on the server.
public UpdateItem ( UpdateItemType updateItemRequest ) : UpdateItemResponseType
updateItemRequest Microsoft.Protocols.TestSuites.Common.UpdateItemType Update item operation request type.
return UpdateItemResponseType