public void VerifyExportWebErrorCode(int errorCodeValue)
{
// If expectedValue is returned as 4, 5, 6, 7 or 8, R57 can be captured.
Site.Log.Add(LogEntryKind.Debug, "Verify MS-SITESS_R57, the value of error code is {0}", errorCodeValue);
// Verify MS-SITESS requirement: MS-SITESS_R57
bool isVerifyR57 = 4 == errorCodeValue || 5 == errorCodeValue || 6 == errorCodeValue || 7 == errorCodeValue || 8 == errorCodeValue;
Site.CaptureRequirementIfIsTrue(
isVerifyR57,
57,
@"[In ExportWeb] In cases of permission, space restrictions or other conditions that prevent the execution of the operation, an error code MUST be included in the response message as specified in section 3.1.4.2.2.2 [error code list: 4, 5, 6, 7, 8].");
}