示例#1
0
        // Token: 0x06001BA5 RID: 7077 RVA: 0x00069FE4 File Offset: 0x000681E4
        private MessageType GetMessage()
        {
            Stopwatch      stopwatch = Stopwatch.StartNew();
            GetItemRequest request   = this.MakeGetItemRequest();
            GetItem        getItem   = new GetItem(base.CallContext, request);

            getItem.PreExecute();
            ServiceResult <ItemType[]> serviceResult = getItem.Execute();

            getItem.SetCurrentStepResult(serviceResult);
            getItem.PostExecute();
            this.Logger.LogInfo("GetMessage() took {0} seconds.", new object[]
            {
                stopwatch.Elapsed.TotalSeconds
            });
            return(serviceResult.Value[0] as MessageType);
        }