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

RopUpdateDeferredActionMessages() public method

This ROP updates the entry IDs in the deferred action messages.
public RopUpdateDeferredActionMessages ( uint objHandle, byte serverEntryId, byte clientEntryId ) : RopUpdateDeferredActionMessagesResponse
objHandle uint This index refers to the location in the Server object handle table used to find the handle for this operation.
serverEntryId byte This value specifies the ID of the message on the server.
clientEntryId byte This value specifies the ID of the downloaded message on the client.
return Microsoft.Protocols.TestSuites.Common.RopUpdateDeferredActionMessagesResponse
        public RopUpdateDeferredActionMessagesResponse RopUpdateDeferredActionMessages(uint objHandle, byte[] serverEntryId, byte[] clientEntryId)
        {
            this.rawData = null;
            this.response = null;
            this.responseSOHs = null;

            RopUpdateDeferredActionMessagesRequest updateDeferredActionMessagesRequest;
            RopUpdateDeferredActionMessagesResponse updateDeferredActionMessagesResponse;

            updateDeferredActionMessagesRequest.RopId = 0x57;
            updateDeferredActionMessagesRequest.LogonId = 0x00;
            updateDeferredActionMessagesRequest.InputHandleIndex = 0x00;
            updateDeferredActionMessagesRequest.ServerEntryIdSize = 0;
            if (serverEntryId != null)
            {
                updateDeferredActionMessagesRequest.ServerEntryIdSize = (ushort)serverEntryId.Length;
            }

            updateDeferredActionMessagesRequest.ServerEntryId = serverEntryId;
            updateDeferredActionMessagesRequest.ClientEntryIdSize = 0;
            if (clientEntryId != null)
            {
                updateDeferredActionMessagesRequest.ClientEntryIdSize = (ushort)clientEntryId.Length;
            }

            updateDeferredActionMessagesRequest.ClientEntryId = clientEntryId;

            this.responseSOHs = this.DoRPCCall(updateDeferredActionMessagesRequest, objHandle, ref this.response, ref this.rawData);
            updateDeferredActionMessagesResponse = (RopUpdateDeferredActionMessagesResponse)this.response;

            return updateDeferredActionMessagesResponse;
        }