Microsoft.Protocols.TestSuites.MS_OXCSTOR.MS_OXCSTORAdapter.VerifyRopSetReceiveFolder C# (CSharp) Method

VerifyRopSetReceiveFolder() private method

Verify the response by sending the ROP RopSetReceiveFolder.
private VerifyRopSetReceiveFolder ( RopSetReceiveFolderResponse response ) : void
response RopSetReceiveFolderResponse The structure of ROP RopSetReceiveFolder response.
return void
        private void VerifyRopSetReceiveFolder(RopSetReceiveFolderResponse response)
        {
            // The returnValue is 0 to indicate that the response is successful.
            if (response.ReturnValue == 0)
            {
                // Add the debug information
                Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCSTOR_R241");

                // If the response can be parsed successfully and the return value is success, indicates the ROP's functionality is consistent with its description.
                this.Site.CaptureRequirement(
                    241,
                    @"[In RopSetReceiveFolder ROP] RopSetReceiveFolder is used to establish the Receive folder for messages of a given message class.");
            }
        }