System.ServiceModel.Http2Protocol.ProtocolSession.OnProtocolClose C# (CSharp) Method

OnProtocolClose() private method

Event handler for close.
private OnProtocolClose ( object sender, System.ServiceModel.Http2Protocol.CloseFrameEventArgs e ) : void
sender object Sender object.
e System.ServiceModel.Http2Protocol.CloseFrameEventArgs The event args.
return void
        private void OnProtocolClose(object sender, CloseFrameEventArgs e)
        {
            this.State = ProtocolSessionState.Closed;
            if (this.OnClose != null)
            {
                this.OnClose(this, e);
            }
        }