private void VerifyRopCreateMessageFailureResponse(RopCreateMessageResponse ropCreateMessageResponse, byte outputHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1781");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1781
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropCreateMessageResponse.RopId.GetType(),
1781,
@"[In RopCreateMessage ROP Failure Response Buffer]RopId (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1783");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1783
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopCreateMessage,
ropCreateMessageResponse.RopId,
1783,
@"[In RopCreateMessage ROP Failure Response Buffer,RopId (1 byte)] For this[RopCreateMessage] operation, this field is set to 0x06.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1784");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1784
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropCreateMessageResponse.OutputHandleIndex.GetType(),
1784,
@"[In RopCreateMessage ROP Failure Response Buffer]OutputHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1785");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1785
Site.CaptureRequirementIfAreEqual<byte>(
outputHandleIndex,
ropCreateMessageResponse.OutputHandleIndex,
1785,
@"[In RopCreateMessage ROP Failure Response Buffer,OutputHandleIndex (1 byte)]This index MUST be set to the value specified in the OutputHandleIndex field in the request.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1787");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1787
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropCreateMessageResponse.ReturnValue.GetType(),
1787,
@"[In RopCreateMessage ROP Failure Response Buffer]ReturnValue (4 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1789");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R1789
Site.CaptureRequirementIfAreNotEqual<uint>(
SuccessReturnValue,
ropCreateMessageResponse.ReturnValue,
1789,
@"[In RopCreateMessage ROP Failure Response Buffer,ReturnValue (4 bytes)]For this[Failure Response] response, this field is set to a value other than 0x00000000.");
}
#endregion