Microsoft.Protocols.TestSuites.MS_OXORULE.MS_OXORULEAdapter.NotificationProcess C# (CSharp) Method

NotificationProcess() public method

Get notification detail from server.
public NotificationProcess ( ) : RopNotifyResponse
return RopNotifyResponse
        public RopNotifyResponse NotificationProcess()
        {
            List<IDeserializable> responseRops = new List<IDeserializable>();
            RopNotifyResponse notifyResponse = new RopNotifyResponse();
            uint ret = this.oxcropsClient.RopCall(null, null, ref responseRops, ref this.responseSOHs, ref this.rawData, 0x10008);
            Site.Assert.AreEqual<uint>(OxcRpcErrorCode.ECNone, ret, "ROP call should be successful here, the error code is: {0}", ret);

            foreach (IDeserializable response in responseRops)
            {
                string responseName = response.GetType().Name;
                if (responseName == Constants.NameOfRopNotifyResponse)
                {
                    notifyResponse = (RopNotifyResponse)response;
                    break;
                }
            }

            return notifyResponse;
        }