/// <summary> /// This method is used to verify the UploadItemsResponseMessageType related requirements. /// </summary> /// <param name="uploadItemsMessage">Specified UploadItemsResponseMessageType instance</param> /// <param name="isSchemaValidated">Whether the schema is validated.</param> private void VerifyUploadItemsResponseMessageType(UploadItemsResponseMessageType uploadItemsMessage, bool isSchemaValidated) { // verify the base type ResponseMessageType related requirements. this.VerifyResponseMessageType(uploadItemsMessage as ResponseMessageType, isSchemaValidated); // If the schema validation and the above base type verification are successful, // then MS-OXWSBTRF_R127, MS-OXWSBTRF_R199, MS-OXWSBTRF_R201 can be captured. // Add debug information. Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSBTRF_R127"); // Verify MS-OXWSBTRF requirement: MS-OXWSBTRF_R127 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 127, @"[In m:UploadItemsResponseMessageType Complex Type][The schema of UploadItemsResponseMessageType is:]<xs:complexType name=""UploadItemsResponseMessageType""> <xs:complexContent> <xs:extension base=""m:ResponseMessageType""> <xs:sequence> <xs:element name=""ItemId"" type=""t:ItemIdType"" minOccurs=""0""/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>"); // Add debug information. Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSBTRF_R199"); // Verify MS-OXWSBTRF requirement: MS-OXWSBTRF_R199 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 199, @"[In m:UploadItemsResponseMessageType Complex Type]The Type of ItemId is t:ItemIdType ([MS-OXWSCORE] section 2.2.4.25)."); // Add debug information. Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSBTRF_R201"); // Verify MS-OXWSBTRF requirement: MS-OXWSBTRF_R201 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 201, @"[In m:UploadItemsResponseMessageType Complex Type]Only a single instance of this element [ItemId] can be present."); }