C# Class Microsoft.Protocols.TestSuites.MS_ASEMAIL.MS_ASEMAILAdapter

Adapter class of MS-ASEMAIL.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASEMAILAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse

Synchronizes the collection hierarchy.

Initialize ( ITestSite testSite ) : void

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

InvalidSearch ( SearchRequest searchRequest, string emailClassElement ) : SendStringResponse

Search data on the server with an invalid Search request which contains an E-mail Class element.

InvalidSync ( SyncRequest syncRequest, string addElement, string insertTag ) : SendStringResponse

Sync data from the server with an invalid sync request which contains additional element.

ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore

Fetch all information about exchange object.

MeetingResponse ( MeetingResponseRequest meetingResponseRequest ) : MeetingResponseResponse

MeetingResponse for accepting or declining a MeetingRequest.

Search ( SearchRequest searchRequest ) : SearchResponse

Search items on server.

SendMail ( SendMailRequest sendMailRequest ) : SendMailResponse

Sends MIME-formatted e-mail messages to the server.

SmartForward ( SmartForwardRequest smartForwardRequest ) : SmartForwardResponse

Forwards messages without retrieving the full, original message from the server.

SmartReply ( SmartReplyRequest smartReplyRequest ) : SmartReplyResponse

Reply to messages without retrieving the full, original message from the server.

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

Change user to call active sync operation.

Sync ( SyncRequest syncRequest ) : SyncStore

Sync data from the server.

Private Methods

Method Description
VerifyAbstractDataModel ( ) : void

This method is used to verify the Abstract Data Model related requirements.

VerifyAdministrativeMessageClass ( string administrativeMessageClass ) : void

This method is used to verify the Administrative MessageClass related requirements.

VerifyAllDayEvent ( byte allDayEvent ) : void

This method is used to verify the AllDayEvent related requirements.

VerifyAttachment ( Response attachment ) : void

This method is used to verify the Attachment related requirements.

VerifyAttachments ( Response attachments ) : void

This method is used to verify the Attachments related requirements.

VerifyBcc ( string bcc ) : void

This method is used to verify the Bcc related requirements.

VerifyBody ( Body body ) : void

This method is used to verify the Body related requirements.

VerifyBodyPart ( BodyPart bodyPart ) : void

This method is used to verify the BodyPart related requirements.

VerifyBooleanStructure ( bool boolValue ) : void

This method is used to verify the boolean related requirements.

VerifyBusyStatus ( string busyStatus ) : void

This method is used to verify the BusyStatus related requirements.

VerifyCalendarType ( string calendarType ) : void

This method is used to verify the CalendarType related requirements.

VerifyCategories ( Response categories ) : void

This method is used to verify the Categories related requirements.

VerifyCategory ( string categories ) : void

This method is used to verify the Category related requirements.

VerifyCc ( string cc ) : void

This method is used to verify the Cc related requirements.

VerifyCompleteTime ( ) : void

This method is used to verify the CompleteTime related requirements.

VerifyContainerStructure ( ) : void

This method is used to verify the container related requirements.

VerifyContentClass ( string contentClass ) : void

This method is used to verify the ContentClass related requirements.

VerifyConversationId ( string conversationId ) : void

This method is used to verify the ConversationId related requirements.

VerifyConversationIndex ( string conversationIndex ) : void

Verify the ConversationIndex element relative requirements.

VerifyDateCompleted ( System.DateTime dateCompleted ) : void

This method is used to verify the DateCompleted related requirements.

VerifyDateReceived ( System.DateTime dateReceived ) : void

This method is used to verify the DateReceived related requirements.

VerifyDateTimeStructure ( ) : void

This method is used to verify the dateTime related requirements.

VerifyDayOfMonth ( ) : void

This method is used to verify the DayOfMonth related requirements.

VerifyDayOfWeek ( string dayOfWeek ) : void

This method is used to verify the DayOfWeek related requirements.

VerifyDisallowNewTimeProposal ( byte disallowNewTimeProposal ) : void

This method is used to verify the DisallowNewTimeProposal related requirements.

VerifyDisplayName ( ) : void

This method is used to verify the DisplayName related requirements.

VerifyDisplayTo ( string displayTo ) : void

This method is used to verify the DisplayTo related requirements.

VerifyDtStamp ( ) : void

This method is used to verify the DtStamp related requirements.

VerifyDueDate ( ) : void

This method is used to verify the DueDate related requirements.

VerifyEmailClassElements ( Microsoft.Protocols.TestSuites.Common.DataStructures email ) : void

Verify E-Mail Class elements.

VerifyEmailSubject ( string subject ) : void

This method is used to verify the email message subject related requirements.

VerifyEndTime ( System.DateTime endTime ) : void

This method is used to verify the EndTime related requirements.

VerifyFirstDayOfWeek ( byte firstDayOfWeek ) : void

This method is used to verify the FirstDayOfWeek related requirements.

VerifyFlag ( Response flag ) : void

This method is used to verify the Flag related requirements.

VerifyFlagType ( string flagType ) : void

This method is used to verify the FlagType related requirements.

VerifyFrom ( string from ) : void

This method is used to verify the From related requirements.

VerifyImportance ( byte importance ) : void

This method is used to verify the Importance related requirements.

VerifyInstanceType ( byte instanceType ) : void

This method is used to verify the InstanceType related requirements.

VerifyIntegerStructure ( ) : void

This method is used to verify the integer related requirements.

VerifyInternetCPID ( ) : void

This method is used to verify the InternetCPID related requirements.

VerifyInterval ( ) : void

This method is used to verify the Interval related requirements.

VerifyIsDraft ( bool isDraft ) : void

This method is used to verify the IsDraft related requirements.

VerifyIsLeapMonth ( byte isLeapMonth ) : void

This method is used to verify the IsLeapMonth related requirements.

VerifyItemOperations ( Microsoft.Protocols.TestSuites.Common.DataStructures itemOperations ) : void

This method is used to verify the ItemOperations command related requirements.

VerifyLastVerbExecuted ( int lastVerbExecuted ) : void

This method is used to verify the LastVerbExecuted related requirements.

VerifyLastVerbExecutionTime ( System.DateTime lastVerbExecutionTime ) : void

This method is used to verify the LastVerbExecutionTime related requirements.

VerifyLocation ( string location ) : void

This method is used to verify the Location related requirements.

VerifyMeetingMessageType ( byte meetingMessageType ) : void

This method is used to verify the MeetingMessageType related requirements.

VerifyMeetingRequest ( Response meetingRequest ) : void

This method is used to verify the MeetingRequest related requirements.

VerifyMessageClass ( string messageClass ) : void

This method is used to verify the MessageClass related requirements.

VerifyMessageSyntax ( ) : void

This method is used to verify the Message Syntax related requirements.

VerifyMonthOfYear ( ) : void

This method is used to verify the MonthOfYear related requirements.

VerifyNativeBodyType ( byte nativeBodyType ) : void

This method is used to verify the NativeBodyType related requirements.

VerifyOccurrences ( ) : void

This method is used to verify the Occurrences related requirements.

VerifyOrdinalDate ( ) : void

This method is used to verify the OrdinalDate related requirements.

VerifyOrganizer ( string organizer ) : void

This method is used to verify the Organizer related requirements.

VerifyRead ( bool read ) : void

This method is used to verify the Read related requirements.

VerifyReceivedAsBcc ( bool receivedAsBcc ) : void

This method is used to verify the ReceivedAsBcc element.

VerifyRecurrence ( Response recurrence ) : void

This method is used to verify the Recurrence related requirements.

VerifyRecurrenceId ( ) : void

This method is used to verify the RecurrenceId related requirements.

VerifyRecurrences ( Response recurrences ) : void

Verify the Recurrences element.

VerifyReminderSet ( byte reminderSet ) : void

This method is used to verify the ReminderSet related requirements.

VerifyReminderTime ( ) : void

This method is used to verify the ReminderTime related requirements.

VerifyReplyTo ( string replyTo ) : void

This method is used to verify the ReplyTo related requirements.

VerifyRequirementsRelateToCodePage17 ( string tagName, byte token ) : void

Verify the tags and tokens in WBXML code page 17.

VerifyRequirementsRelateToCodePage2 ( int codePageNumber, string tagName, byte token ) : void

Verify the tags and tokens in WBXML code page 2.

VerifyRequirementsRelateToCodePage22 ( int codePageNumber, string tagName, byte token ) : void

Verify the tags and tokens in WBXML code page 22.

VerifyRequirementsRelateToCodePage9 ( string tagName, byte token ) : void

Verify the tags and tokens in WBXML code page 9.

VerifyResponseRequested ( byte responseRequested ) : void

This method is used to verify the ResponseRequested related requirements.

VerifySearchCommand ( Microsoft.Protocols.TestSuites.Common.DataStructures store ) : void

This method is used to verify the Search Command related requirements.

VerifySender ( string sender ) : void

This method is used to verify the Sender element.

VerifySensitivity ( string sensitivity ) : void

This method is used to verify the Sensitivity related requirements.

VerifyStartDate ( ) : void

This method is used to verify the StartDate related requirements.

VerifyStartTime ( System.DateTime startTime ) : void

This method is used to verify the StartTime related requirements.

VerifyStatus ( string status ) : void

This method is used to verify the Status related requirements.

VerifyStringStructure ( ) : void

This method is used to verify the string related requirements.

VerifySubOrdinalDate ( string subOrdinalDate ) : void

This method is used to verify the SubOrdinalDate related requirements.

VerifySyncCommand ( Microsoft.Protocols.TestSuites.Common.DataStructures syncStore ) : void

This method is used to verify the Sync Command related requirements.

VerifyTaskSubject ( string subject ) : void

This method is used to verify the task message subject related requirements.

VerifyThreadTopic ( string threadTopic ) : void

This method is used to verify the ThreadTopic related requirements.

VerifyTimeZone ( ) : void

This method is used to verify the TimeZone related requirements.

VerifyTimeZoneStructure ( ) : void

This method is used to verify the TimeZone related requirements.

VerifyTo ( string to ) : void

This method is used to verify the To related requirements.

VerifyTransport ( ) : void

This method is used to verify transport related requirement.

VerifyType ( byte type ) : void

This method is used to verify the Type related requirements.

VerifyUmAttDuration ( ) : void

Verify the element UmAttDuration relative requirements

VerifyUmAttOrder ( ) : void

Verify the element UmAttOrder relative requirements

VerifyUmCallerID ( string callerID, string messageClass ) : void

This method is used to verify the UmCallerID related requirements.

VerifyUmUserNotes ( string userNotes, string messageClass ) : void

This method is used to verify the UmUserNotes related requirements.

VerifyUnsignedByteStructure ( byte byteValue ) : void

This method is used to verify the unsignedByte related requirements.

VerifyUntil ( ) : void

This method is used to verify the Until related requirements.

VerifyUtcDueDate ( ) : void

This method is used to verify the UtcDueDate related requirements.

VerifyUtcStartDate ( ) : void

This method is used to verify the UtcStartDate related requirements.

VerifyWBXMLCapture ( ) : void

Verify WBXML Capture for WBXML process.

VerifyWeekOfMonth ( ) : void

This method is used to verify the WeekOfMonth related requirements.

Method Details

FolderSync() public method

Synchronizes the collection hierarchy.
public FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse
folderSyncRequest FolderSyncRequest A FolderSyncRequest object that contains the request information.
return FolderSyncResponse

Initialize() public method

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.
return void

InvalidSearch() public method

Search data on the server with an invalid Search request which contains an E-mail Class element.
public InvalidSearch ( SearchRequest searchRequest, string emailClassElement ) : SendStringResponse
searchRequest SearchRequest The request for search operation.
emailClassElement string The email class element.
return SendStringResponse

InvalidSync() public method

Sync data from the server with an invalid sync request which contains additional element.
public InvalidSync ( SyncRequest syncRequest, string addElement, string insertTag ) : SendStringResponse
syncRequest SyncRequest The request for sync operation.
addElement string Additional element insert into normal sync request.
insertTag string Insert tag shows where the additional element should inserted.
return SendStringResponse

ItemOperations() public method

Fetch all information about exchange object.
public ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore
itemOperationsRequest ItemOperationsRequest The request for itemOperations.
return Microsoft.Protocols.TestSuites.Common.DataStructures.ItemOperationsStore

MeetingResponse() public method

MeetingResponse for accepting or declining a MeetingRequest.
public MeetingResponse ( MeetingResponseRequest meetingResponseRequest ) : MeetingResponseResponse
meetingResponseRequest MeetingResponseRequest The request for meeting.
return MeetingResponseResponse

Search() public method

Search items on server.
public Search ( SearchRequest searchRequest ) : SearchResponse
searchRequest SearchRequest The request for search operation.
return SearchResponse

SendMail() public method

Sends MIME-formatted e-mail messages to the server.
public SendMail ( SendMailRequest sendMailRequest ) : SendMailResponse
sendMailRequest SendMailRequest The request for SendMail operation.
return SendMailResponse

SmartForward() public method

Forwards messages without retrieving the full, original message from the server.
public SmartForward ( SmartForwardRequest smartForwardRequest ) : SmartForwardResponse
smartForwardRequest SmartForwardRequest The request for SmartForward operation.
return SmartForwardResponse

SmartReply() public method

Reply to messages without retrieving the full, original message from the server.
public SmartReply ( SmartReplyRequest smartReplyRequest ) : SmartReplyResponse
smartReplyRequest SmartReplyRequest The request for SmartReply operation.
return SmartReplyResponse

SwitchUser() public method

Change user to call active sync operation.
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.
return void

Sync() public method

Sync data from the server.
public Sync ( SyncRequest syncRequest ) : SyncStore
syncRequest SyncRequest The request for sync operation.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore