Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrServerSessionContext.ClearAll C# (CSharp) Method

ClearAll() private method

Clear all the members.
private ClearAll ( ) : void
return void
        internal void ClearAll()
        {
            ClearForReconnect();

            lock (contextLock)
            {
                autoReconnectCookie = null;
                clientRandom = null;
                serverRandom = null;
                lastDisconnectReason = 0;
                lastErrorInfo = errorInfo_Values.ERRINFO_NOERROR;
                lastStatusInfo = StatusCode_Values.TS_STATUS_NO_STATUS;
                pduCountToUpdate = ConstValue.PDU_COUNT_TO_UPDATE_SESSION_KEY;
                identity = null;
            }
        }