Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.RdpedycServer.CloseChannel C# (CSharp) Méthode

CloseChannel() private méthode

Close a channel after received a Close DVC PDU
private CloseChannel ( CloseDvcPdu pdu ) : void
pdu CloseDvcPdu
Résultat void
        private void CloseChannel(CloseDvcPdu pdu)
        {
            if (!channelDicbyId.ContainsKey(pdu.ChannelId))
            {
                throw new InvalidOperationException("The channel has not been created, channel id:" + pdu.ChannelId);
            }
            DynamicVirtualChannel channel = channelDicbyId[pdu.ChannelId];

            channelDicbyId.Remove(channel.ChannelId);
            channel.IsActive = false;
        }

Same methods

RdpedycServer::CloseChannel ( UInt16 channelId ) : void