コード例 #1
0
ファイル: Principal.cs プロジェクト: israelaece/WCFVideos
        void InnerChannel_Faulted(object sender, EventArgs e)
        {
            this._proxy.Abort();

            this._proxy = new ServiceDeGestaoDeCredito.GestorDeCreditoClient(new InstanceContext(this), "NetTcpBinding_IGestorDeCredito");
            this._proxy.InnerChannel.Faulted += new EventHandler(InnerChannel_Faulted);
        }
コード例 #2
0
ファイル: Principal.cs プロジェクト: israelaece/WCFVideos
        public Principal()
        {
            InitializeComponent();

            this._proxy = new ServiceDeGestaoDeCredito.GestorDeCreditoClient(new InstanceContext(this), "NetTcpBinding_IGestorDeCredito");
            this._proxy.InnerChannel.Faulted += new EventHandler(InnerChannel_Faulted);
        }
コード例 #3
0
ファイル: Proposta.cs プロジェクト: israelaece/WCFVideos
        public Proposta()
        {
            InitializeComponent();

            this._proxy =
                new GestorDeCredito.GestorDeCreditoClient(
                    new InstanceContext(this), "NetTcpBinding_IGestorDeCredito");
        }
コード例 #4
0
        public Propostas()
        {
            InitializeComponent();

            this._proxy =
                new GestorDeCredito.GestorDeCreditoClient(
                    new System.ServiceModel.InstanceContext(this),
                    "NetTcpBinding_IGestorDeCredito");
        }