Property | Type | Description | |
---|---|---|---|
insideObjHandle | uint | ||
isNotNeedCleanupPrivateMailbox | bool | ||
rawData | byte[] | ||
response | object | ||
retryCount | int | ||
waitTime | int |
Method | Description | |
---|---|---|
AddPermission ( string userEssdn, uint memberRights, uint folderHandle ) : void |
Add a permission for a user to the permission list of the specified folder.
|
|
AddRecipients ( List |
Add recipients to specific message.
|
|
AddRecipients ( List |
Add recipients to specific message.
|
|
CheckMapiHttpIsSupported ( ) : void |
Check whether support MS-OXCMAPIHTTP transport.
|
|
ConnectToServer ( ConnectionType connectionType ) : void |
Connect to the server for RPC calling.
|
|
CreateAttachment ( uint objectHandle, |
Create an attachment of the given message.
|
|
CreateMessageTaggedPropertyValueArrays ( int &size, PidTagAttachMethodFlags valueOfPidTagAttachMethodFlags ) : Microsoft.Protocols.TestSuites.Common.TaggedPropertyValue[] |
Create an array of TaggedPropertyValue for message.
|
|
CreateModifyRecipientRow ( string name, uint rowId ) : ModifyRecipientRow |
Create Recipient Array
|
|
CreateModifyRecipientRow ( string name, uint rowId, RecipientType recipientType ) : ModifyRecipientRow |
Create Recipient Array
|
|
CreateRecipientColumns ( string name ) : |
Create RecipientColumns
|
|
CreateRecipientColumns ( ) : Microsoft.Protocols.TestSuites.Common.PropertyTag[] |
Create RecipientColumns
|
|
CreateSubFolder ( uint parentFolderHandle, ulong &subFolderId ) : uint |
Create a subfolder under specified folder.
|
|
CreateSubFolder ( uint parentFolderHandle ) : ulong |
Create a subfolder under specific folder.
|
|
CreatedMessage ( ulong folderId, uint logonHandle ) : uint |
Get Created Message Handle
|
|
CreatedMessage ( ulong folderId, uint logonHandle, RopCreateMessageResponse &createMessageResponse ) : uint |
Get Created Message Handle
|
|
GetContentTableSuccess ( uint objHandle ) : RopGetContentsTableResponse |
Get the content table of specific folder.
|
|
GetLongTermIdFormID ( ulong objectId, uint logonHandle ) : LongTermId |
Get the LongTermId form specified object ID.
|
|
GetObjectIdFormLongTermID ( LongTermId longTermID, uint logonHandle ) : ulong |
Get the object ID form specified LongTermId.
|
|
GetSpecificPropertiesOfMessage ( ulong folderId, ulong messageId, uint objectHandle, List |
Get value of specific properties in Message object.
|
|
GetSpecificPropertiesOfMessage ( uint messageHandle, List |
Get value of specific properties in Message object.
|
|
Logon ( LogonType logonType, uint &objHandle ) : RopLogonResponse |
Call RopLogon to establish a logon session between the client and the server.
|
|
OpenSpecificFolder ( ulong folderId, uint logonHandle ) : uint |
Get Opened Folder Handle
|
|
OpenSpecificMessage ( ulong folderId, ulong messageId, uint objectHandle, MessageOpenModeFlags openFlags ) : uint |
Open a specific message.
|
|
OpenSpecificMessage ( ulong folderId, ulong messageId, uint objectHandle, MessageOpenModeFlags openFlags, RopOpenMessageResponse &openMessageResponse ) : uint |
Open a specific message.
|
|
QueryRowsSuccess ( uint objHandle ) : RopQueryRowsResponse |
Query the rows of specific table.
|
|
ReleaseRop ( uint handle ) : void |
Release resources.
|
|
SaveAttachment ( uint objectHandle, RopSaveChangesAttachmentResponse &saveChangesAttachmentReponse ) : void |
Save the attachment.
|
|
SaveMessage ( uint messagesHandle, byte saveFlags ) : RopSaveChangesMessageResponse |
Save Message
|
|
SetColumnsSuccess ( PropertyTag propertyTags, uint objHandle ) : void |
Set the specified columns that want to be returned.
|
|
SetPropertiesForMessage ( uint messageHandle, List |
Set properties' value for a message
|
|
SetPropertiesForMessage ( uint messageHandle, List |
Set properties' value for a message
|
|
TestCleanup ( ) : void |
Test cleanup method
|
|
TestInitialize ( ) : void |
Test initialization
|
|
WaitEmailBeDelivered ( string title, ulong folderId, uint logonHandle, ulong &messageId ) : bool |
Wait email be delivered to Inbox folder.
|
|
WaitEmailBeDelivered ( uint objectHandle, uint messageCountBeforeDelivery ) : bool |
Wait email be delivered to Inbox folder.
|
Method | Description | |
---|---|---|
CleanFolder ( ulong folderID ) : void |
Clean the Inbox folder in private mailbox.
|
|
CreateEntryIdProperty ( string userEssdn ) : |
Generate the EntryId for modify the permissions.
|
|
CreateModifyPermissionsRequestBuffer ( |
Create buffer to get RopModifyPermissions request.
|
|
CreateRightsProperty ( uint nrights ) : |
Create TaggedProperty by integer rights.
|
|
DetermineMessageExist ( string title, ulong folderId, uint logonHandle, ulong &messageID ) : bool |
Determine the specified message whether has existed in specified folder.
|
|
GetEntryId ( string userEssdn ) : byte[] |
Get EntryId by user ESSDN.
|
|
GetPermissionDataArrayForAdd ( string userEssdn, uint rights ) : PermissionData[] |
Set the PermissionData Array for adding by the permissionUserName and permissionRight
|
protected AddPermission ( string userEssdn, uint memberRights, uint folderHandle ) : void | ||
userEssdn | string | UserDN used to connect server. |
memberRights | uint | The permission value. |
folderHandle | uint | The specified folder object handle. |
return | void |
protected AddRecipients ( List |
||
recipientRows | List |
The list of ModifyRecipientRow. |
messageHandle | uint | The Server object handle of Message. |
propertyTag | The properties of Recipient | |
return | void |
protected AddRecipients ( List |
||
recipientRows | List |
The list of ModifyRecipientRow. |
messageHandle | uint | The Server object handle of Message. |
propertyTag | The properties of Recipient | |
modifyRecipientsResponse | RopModifyRecipientsResponse | The response of calling RopModifyRecipients. |
return | void |
protected CheckMapiHttpIsSupported ( ) : void | ||
return | void |
protected ConnectToServer ( ConnectionType connectionType ) : void | ||
connectionType | ConnectionType | The type of connection |
return | void |
protected CreateAttachment ( uint objectHandle, |
||
objectHandle | uint | A Server object handle. |
createAttachmentResponse | The RopCreateAttachmentResponse value. | |
attachmentId | uint | The created attachment ID. |
return | uint |
protected CreateMessageTaggedPropertyValueArrays ( int &size, PidTagAttachMethodFlags valueOfPidTagAttachMethodFlags ) : Microsoft.Protocols.TestSuites.Common.TaggedPropertyValue[] | ||
size | int | The size of TaggedPropertyValue array. |
valueOfPidTagAttachMethodFlags | PidTagAttachMethodFlags | Flags of PidTagAttachMethod property. |
return | Microsoft.Protocols.TestSuites.Common.TaggedPropertyValue[] |
protected CreateModifyRecipientRow ( string name, uint rowId ) : ModifyRecipientRow | ||
name | string | Recipient name value |
rowId | uint | RowId value |
return | ModifyRecipientRow |
protected CreateModifyRecipientRow ( string name, uint rowId, RecipientType recipientType ) : ModifyRecipientRow | ||
name | string | Recipient name value |
rowId | uint | RowId value |
recipientType | RecipientType | Recipient type value |
return | ModifyRecipientRow |
protected CreateRecipientColumns ( string name ) : |
||
name | string | Recipient name |
return |
protected CreateRecipientColumns ( ) : Microsoft.Protocols.TestSuites.Common.PropertyTag[] | ||
return | Microsoft.Protocols.TestSuites.Common.PropertyTag[] |
protected CreateSubFolder ( uint parentFolderHandle, ulong &subFolderId ) : uint | ||
parentFolderHandle | uint | The specified parent folder handle. |
subFolderId | ulong | Output the subfolder Id. |
return | uint |
protected CreateSubFolder ( uint parentFolderHandle ) : ulong | ||
parentFolderHandle | uint | The Server object handle of parent folder. |
return | ulong |
protected CreatedMessage ( ulong folderId, uint logonHandle ) : uint | ||
folderId | ulong | The folder Id be used to create message |
logonHandle | uint | The RopLogon object handle |
return | uint |
protected CreatedMessage ( ulong folderId, uint logonHandle, RopCreateMessageResponse &createMessageResponse ) : uint | ||
folderId | ulong | The folder Id be used to create message |
logonHandle | uint | The RopLogon object handle |
createMessageResponse | RopCreateMessageResponse | The response of calling RopCreateMessage |
return | uint |
protected GetContentTableSuccess ( uint objHandle ) : RopGetContentsTableResponse | ||
objHandle | uint | The handle of specific folder. |
return | RopGetContentsTableResponse |
protected GetLongTermIdFormID ( ulong objectId, uint logonHandle ) : LongTermId | ||
objectId | ulong | The specified object ID. |
logonHandle | uint | The logon handle. |
return | LongTermId |
protected GetObjectIdFormLongTermID ( LongTermId longTermID, uint logonHandle ) : ulong | ||
longTermID | LongTermId | The specified LongTermID. |
logonHandle | uint | The logon handle. |
return | ulong |
protected GetSpecificPropertiesOfMessage ( ulong folderId, ulong messageId, uint objectHandle, List |
||
folderId | ulong | The folder ID. |
messageId | ulong | The message handle. |
objectHandle | uint | The object handle. |
propertyList | List |
The specific properties list. |
return | List |
protected GetSpecificPropertiesOfMessage ( uint messageHandle, List |
||
messageHandle | uint | The message handle. |
propertyList | List |
The specific properties list. |
return | RopGetPropertiesSpecificResponse |
protected Logon ( LogonType logonType, uint &objHandle ) : RopLogonResponse | ||
logonType | LogonType | LogonType value |
objHandle | uint | Unsigned integer value |
return | RopLogonResponse |
protected OpenSpecificFolder ( ulong folderId, uint logonHandle ) : uint | ||
folderId | ulong | The folder id be used to open folder |
logonHandle | uint | The RopLogon handle |
return | uint |
protected OpenSpecificMessage ( ulong folderId, ulong messageId, uint objectHandle, MessageOpenModeFlags openFlags ) : uint | ||
folderId | ulong | The folder Id of specific folder that contains specific message. |
messageId | ulong | The message id of specific message. |
objectHandle | uint | A Server object handle. |
openFlags | MessageOpenModeFlags | The OpenModeFlags value. |
return | uint |
protected OpenSpecificMessage ( ulong folderId, ulong messageId, uint objectHandle, MessageOpenModeFlags openFlags, RopOpenMessageResponse &openMessageResponse ) : uint | ||
folderId | ulong | The folder Id of specific folder that contains specific message. |
messageId | ulong | The message id of specific message. |
objectHandle | uint | A Server object handle. |
openFlags | MessageOpenModeFlags | The OpenModeFlags value. |
openMessageResponse | RopOpenMessageResponse | The response of RopOpenMessage. |
return | uint |
protected QueryRowsSuccess ( uint objHandle ) : RopQueryRowsResponse | ||
objHandle | uint | The handle of specific table. |
return | RopQueryRowsResponse |
protected ReleaseRop ( uint handle ) : void | ||
handle | uint | Unsigned integer value indicates the Server object Handle |
return | void |
protected SaveAttachment ( uint objectHandle, RopSaveChangesAttachmentResponse &saveChangesAttachmentReponse ) : void | ||
objectHandle | uint | A Server object handle. |
saveChangesAttachmentReponse | RopSaveChangesAttachmentResponse | The RopSaveChangesAttachmentResponse value. |
return | void |
protected SaveMessage ( uint messagesHandle, byte saveFlags ) : RopSaveChangesMessageResponse | ||
messagesHandle | uint | An unsigned integer value indicates a Message object handle. |
saveFlags | byte | A byte value indicates value of SaveFlags. |
return | RopSaveChangesMessageResponse |
protected SetColumnsSuccess ( PropertyTag propertyTags, uint objHandle ) : void | ||
propertyTags | PropertyTag | The specified columns. |
objHandle | uint | The object handle. |
return | void |
protected SetPropertiesForMessage ( uint messageHandle, List |
||
messageHandle | uint | Unsigned integer value indicates a message object handle. |
pts | List |
PropertyObj list value |
return | void |
protected SetPropertiesForMessage ( uint messageHandle, List |
||
messageHandle | uint | Unsigned integer value indicates a message object handle. |
pts | List |
PropertyObj list value |
rpmSetResponse | RopSetPropertiesResponse | The response of calling RopSetProperties. |
return | void |
protected WaitEmailBeDelivered ( string title, ulong folderId, uint logonHandle, ulong &messageId ) : bool | ||
title | string | The message subject of specified message |
folderId | ulong | The specified folder ID. |
logonHandle | uint | The logon handle. |
messageId | ulong | The value of message ID. |
return | bool |
protected WaitEmailBeDelivered ( uint objectHandle, uint messageCountBeforeDelivery ) : bool | ||
objectHandle | uint | The Server object handle of inbox folder. |
messageCountBeforeDelivery | uint | The message count in inbox before this message be delivered |
return | bool |
protected bool isNotNeedCleanupPrivateMailbox | ||
return | bool |