Method | Description | |
---|---|---|
CheckWhetherSupportTransport ( ) : void |
Check whether support MS-OXCMAPIHTTP or ncacn_ip_tcp transport.
|
|
CreateFolder ( uint parentFolderHandle, string folderName, ulong &folderId, uint &folderHandle ) : |
Creates a new Folder.
|
|
CreateSampleRuleDataArrayForAdd ( ) : Microsoft.Protocols.TestSuites.Common.RuleData[] |
Create sample RuleData array to modify the rules associated with a folder.
|
|
CreateSaveMessage ( uint folderHandle, ulong folderId, byte associatedFlag, ulong &messageId, uint &messageHandle ) : void |
Create and save message.
|
|
CreateSaveMessage ( uint folderHandle, ulong folderId, ulong &messageId, uint &messageHandle ) : void |
Create and save message.
|
|
GenericFolderInitialization ( ) : void |
Initialize a generic folder under inbox as a root folder for test.
|
|
GetContentsTable ( FolderTableFlags flags, uint inputHandle ) : uint |
Get row count of a specified folder's contents table.
|
|
GetSubfolderIDByName ( ulong parentFolderId, uint logonHandle, string folderName ) : ulong |
Find a folder ID in the specified folder and with specified display name.
|
|
GetTableRowValue ( uint tableHandle, ushort rowCount, |
Get the properties' value from the rows of the table.
|
|
IsFolderDeleted ( ulong folderId ) : bool |
Verify whether the specified folder was deleted.
|
|
IsFolderHardDeleted ( ulong folderId ) : bool |
Verify whether the specified folder was hard deleted.
|
|
IsFolderSoftDeleted ( ulong folderId ) : bool |
Verify whether the specified folder was soft deleted.
|
|
IsMessageDeleted ( ulong messageId, ulong folderId ) : bool |
Verify whether the specified message in specified folder was deleted.
|
|
Logon ( LogonFlags logonType, uint &objHandle ) : |
Logon Mail server.
|
|
Logon ( LogonFlags logonType, uint &objHandle, uint openFlags ) : |
Logon Mail server.
|
|
OpenFolder ( uint inputHandle, ulong folderId, uint &folderHandle ) : |
Opens an existing folder.
|
|
OpenMessage ( ulong messageId, ulong folderId, MessageOpenModeFlags openModeFlags ) : |
Open a specified message in specified folder.
|
|
TestCleanup ( ) : void |
Overrides TestClassBase's TestCleanup()
|
|
TestInitialize ( ) : void |
Test initialize. Overrides the method TestInitialize defined in base class.
|
protected CheckWhetherSupportTransport ( ) : void | ||
return | void |
protected CreateFolder ( uint parentFolderHandle, string folderName, ulong &folderId, uint &folderHandle ) : |
||
parentFolderHandle | uint | The parent folder under which the new folder will be created. |
folderName | string | Folder Name which will be created. |
folderId | ulong | Folder Id which will be returned by server. |
folderHandle | uint | Folder Handle which will be returned by server. |
return |
protected CreateSampleRuleDataArrayForAdd ( ) : Microsoft.Protocols.TestSuites.Common.RuleData[] | ||
return | Microsoft.Protocols.TestSuites.Common.RuleData[] |
protected CreateSaveMessage ( uint folderHandle, ulong folderId, byte associatedFlag, ulong &messageId, uint &messageHandle ) : void | ||
folderHandle | uint | Folder Handle |
folderId | ulong | Folder Id which messages will be create in. |
associatedFlag | byte | Specifies whether the message is a Folder Associated Information message. |
messageId | ulong | Message Id which will be returned by server. |
messageHandle | uint | Message Handle which will be returned by server. |
return | void |
protected CreateSaveMessage ( uint folderHandle, ulong folderId, ulong &messageId, uint &messageHandle ) : void | ||
folderHandle | uint | Folder Handle |
folderId | ulong | Folder Id which messages will be create in. |
messageId | ulong | Message Id which will be returned by server. |
messageHandle | uint | Message Handle which will be returned by server. |
return | void |
protected GenericFolderInitialization ( ) : void | ||
return | void |
protected GetContentsTable ( FolderTableFlags flags, uint inputHandle ) : uint | ||
flags | FolderTableFlags | The TableFlags parameter contains a bitmask of flags that control how information is returned in the table on folder. |
inputHandle | uint | The folder object handle. |
return | uint |
protected GetSubfolderIDByName ( ulong parentFolderId, uint logonHandle, string folderName ) : ulong | ||
parentFolderId | ulong | ID of the parent Folder. |
logonHandle | uint | The logon object handle. |
folderName | string | The folder display name. |
return | ulong |
protected GetTableRowValue ( uint tableHandle, ushort rowCount, |
||
tableHandle | uint | The table handle. |
rowCount | ushort | The amount of the rows. |
properties | The properties need to show. | |
return | List |
protected IsFolderDeleted ( ulong folderId ) : bool | ||
folderId | ulong | The specified folder ID. |
return | bool |
protected IsFolderHardDeleted ( ulong folderId ) : bool | ||
folderId | ulong | The specified folder ID. |
return | bool |
protected IsFolderSoftDeleted ( ulong folderId ) : bool | ||
folderId | ulong | The specified folder ID. |
return | bool |
protected IsMessageDeleted ( ulong messageId, ulong folderId ) : bool | ||
messageId | ulong | The specified message ID. |
folderId | ulong | The specified folder ID. |
return | bool |
protected Logon ( LogonFlags logonType, uint &objHandle ) : |
||
logonType | LogonFlags | Logon Type. |
objHandle | uint | Server response handle. |
return |
protected Logon ( LogonFlags logonType, uint &objHandle, uint openFlags ) : |
||
logonType | LogonFlags | Logon Type. |
objHandle | uint | Server response handle. |
openFlags | uint | The possible values are specified in [MS-OXCSTOR]. This structure contains more flags that control the behavior of the logon. |
return |
protected OpenFolder ( uint inputHandle, ulong folderId, uint &folderHandle ) : |
||
inputHandle | uint | The input Server object for this operation is a Logon object or a Folder object that represents the object to be opened. |
folderId | ulong | The folder ID specifies the folder to be opened. |
folderHandle | uint | A Folder object that represents the folder that was opened. |
return |
protected OpenMessage ( ulong messageId, ulong folderId, MessageOpenModeFlags openModeFlags ) : |
||
messageId | ulong | The specified message ID. |
folderId | ulong | The specified folder ID. |
openModeFlags | MessageOpenModeFlags | OpenModeFlags for RopOpenMessage. |
return |