Opc.Ua.Bindings.CustomTransportChannel.OpenOnDemand C# (CSharp) Method

OpenOnDemand() private method

Opens the channel before sending the request.
private OpenOnDemand ( ) : void
return void
        private void OpenOnDemand()
        {
            // create the channel.
            m_channel = new TcpClientChannel(
                Guid.NewGuid().ToString(),
                m_bufferManager,
                m_quotas,
                m_settings.ClientCertificate,
                m_settings.ServerCertificate,
                m_settings.Description);

            // begin connect operation.
            // IAsyncResult result = m_channel.BeginConnect(m_url, m_operationTimeout, null, null);
            // m_channel.EndConnect(result);
        }
        #endregion