Microsoft.Protocols.TestSuites.Common.RopUpdateDeferredActionMessagesRequest.Size C# (CSharp) Method

Size() public method

Return the size of this structure.
public Size ( ) : int
return int
        public int Size()
        {
            // 7 indicates sizeof(byte) * 3 + sizeof(UInt16) * 2
            int size = sizeof(byte) * 7;

            if (this.ServerEntryIdSize > 0)
            {
                size += this.ServerEntryIdSize;
            }

            if (this.ClientEntryIdSize > 0)
            {
                size += this.ClientEntryIdSize;
            }

            return size;
        }
    }
RopUpdateDeferredActionMessagesRequest