private void VerifyNotificationWaitSuccessResponseBody(NotificationWaitSuccessResponseBody notificationWaitSuccessResponseBody)
{
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R283");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R283
this.Site.CaptureRequirementIfIsInstanceOfType(
notificationWaitSuccessResponseBody.StatusCode,
typeof(uint),
283,
@"[In NotificationWait Request Type Success Response Body] StatusCode (4 bytes): An unsigned integer that specifies the status of the request.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1369");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1369
this.Site.CaptureRequirementIfAreEqual<uint>(
0,
notificationWaitSuccessResponseBody.StatusCode,
1369,
@"[In NotificationWait Request Type Success Response Body] [StatusCode] This field MUST be set to 0x00000000.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R297");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R297
this.Site.CaptureRequirementIfIsInstanceOfType(
notificationWaitSuccessResponseBody.ErrorCode,
typeof(uint),
297,
@"[In NotificationWait Request Type Success Response Body] ErrorCode (4 bytes): An unsigned integer that specifies the return status of the operation.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R285");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R285
this.Site.CaptureRequirementIfIsInstanceOfType(
notificationWaitSuccessResponseBody.EventPending,
typeof(uint),
285,
@"[In NotificationWait Request Type Success Response Body] EventPending (4 bytes): An unsigned integer that indicates whether an event is pending.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1373");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1373
this.Site.CaptureRequirementIfIsInstanceOfType(
notificationWaitSuccessResponseBody.AuxiliaryBufferSize,
typeof(uint),
1373,
@"[In NotificationWait Request Type Success Response Body] AuxiliaryBufferSize (4 bytes): An unsigned integer that specifies the size, in bytes, of the AuxiliaryBuffer field.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R298");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R298
this.Site.CaptureRequirementIfIsInstanceOfType(
notificationWaitSuccessResponseBody.AuxiliaryBuffer,
typeof(byte[]),
298,
@"[In NotificationWait Request Type Success Response Body] AuxiliaryBuffer (variable): An array of bytes that constitute the auxiliary payload data returned from the server.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1374");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1374
this.Site.CaptureRequirementIfAreEqual<uint>(
notificationWaitSuccessResponseBody.AuxiliaryBufferSize,
(uint)notificationWaitSuccessResponseBody.AuxiliaryBuffer.Length,
1374,
@"[In NotificationWait Request Type Success Response Body] [AuxiliaryBuffer] The size of this field, in bytes, is specified by the AuxiliaryBufferSize field.");
}
#endregion