UpdateMessageCompletion() private method

private UpdateMessageCompletion ( bool completion ) : void
completion bool
return void
示例#1
0
        internal override void SetCompletedSynchronously()
        {
            if (!_isWrite)
            {
                _pipeStream.UpdateMessageCompletion(_isMessageComplete);
            }

            TrySetResult(_numBytes);
        }