C# Класс Microsoft.Protocols.TestSuites.MS_ASPROV.MS_ASPROVAdapter

Adapter class of MS-ASPROV.
Наследование: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASPROVAdapter
Показать файл Открыть проект

Открытые методы

Метод Описание
ApplyDeviceType ( string appliedDeviceType ) : void

Apply the specified DeviceType.

ApplyPolicyKey ( string appliedPolicyKey ) : void

Apply the specified PolicyKey.

FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse

Synchronizes the collection hierarchy from server.

Initialize ( ITestSite testSite ) : void

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

Provision ( ProvisionRequest provisionRequest ) : ProvisionResponse

Request the security policy settings that the administrator sets from the server.

SendProvisionStringRequest ( string provisionRequest ) : ProvisionResponse

Send string request of Provision command to the server and get the Provision response.

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

Change the user authentication.

Sync ( SyncRequest syncRequest ) : SyncStore

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

SyncEmail ( SyncRequest syncRequest, string subject, bool isRetryNeeded ) : Sync

Find an email with specific subject.

Приватные методы

Метод Описание
VerifyBooleanStructure ( ) : void

This method is used to verify the Boolean related requirements.

VerifyContainerStructure ( ) : void

This method is used to verify the Container related requirements.

VerifyEASProvisionDocElement ( ProvisionResponse provisionResponse ) : void

Verify child elements of EASProvisionDoc element.

VerifyIntegerStructure ( ) : void

This method is used to verify the integer related requirements.

VerifyProvisionCommandRequirements ( ProvisionResponse provisionResponse ) : void

Verify Provision command requirements.

VerifyStringStructure ( ) : void

This method is used to verify the string related requirements.

VerifyUnsignedByteStructure ( byte byteValue ) : void

This method is used to verify the unsignedByte related requirements.

VerifyWBXMLRequirements ( ) : void

Verify WBXML Capture for WBXML process.

Описание методов

ApplyDeviceType() публичный Метод

Apply the specified DeviceType.
public ApplyDeviceType ( string appliedDeviceType ) : void
appliedDeviceType string The device type to apply.
Результат void

ApplyPolicyKey() публичный Метод

Apply the specified PolicyKey.
public ApplyPolicyKey ( string appliedPolicyKey ) : void
appliedPolicyKey string The policy key to apply.
Результат void

FolderSync() публичный Метод

Synchronizes the collection hierarchy from server.
public FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse
folderSyncRequest FolderSyncRequest The request of FolderSync command.
Результат FolderSyncResponse

Initialize() публичный Метод

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.
Результат void

Provision() публичный Метод

Request the security policy settings that the administrator sets from the server.
public Provision ( ProvisionRequest provisionRequest ) : ProvisionResponse
provisionRequest ProvisionRequest The request of Provision command.
Результат ProvisionResponse

SendProvisionStringRequest() публичный Метод

Send string request of Provision command to the server and get the Provision response.
public SendProvisionStringRequest ( string provisionRequest ) : ProvisionResponse
provisionRequest string The string request of Provision command.
Результат ProvisionResponse

SwitchUser() публичный Метод

Change the user authentication.
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.
Результат void

Sync() публичный Метод

Synchronizes the changes in a collection between the client and the server by sending SyncRequest object.
public Sync ( SyncRequest syncRequest ) : SyncStore
syncRequest SyncRequest A SyncRequest object that contains the request information.
Результат Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore

SyncEmail() публичный Метод

Find an email with specific subject.
public SyncEmail ( SyncRequest syncRequest, string subject, bool isRetryNeeded ) : Sync
syncRequest SyncRequest A SyncRequest object that contains the request information.
subject string The subject of the email to find.
isRetryNeeded bool A boolean indicating whether need retry.
Результат Sync