Inheritance: IClientFormatterSink
		public IClientChannelSink CreateSink( IChannelSender channel, 
		                                             string url, 
		                                             object remoteChannelData)
		{
			IClientChannelSink _nextSink = _nextClientChannelSinkProvider.CreateSink(channel, url, remoteChannelData);
			
			SoapClientFormatterSink scfs = new SoapClientFormatterSink(_nextSink); 
			scfs.SoapCore = _soapCore;
			return scfs;
		}
        public IClientChannelSink CreateSink(IChannelSender channel,
                                             string url,
                                             object remoteChannelData)
        {
            IClientChannelSink _nextSink = _nextClientChannelSinkProvider.CreateSink(channel, url, remoteChannelData);

            SoapClientFormatterSink scfs = new SoapClientFormatterSink(_nextSink);

            scfs.SoapCore = _soapCore;
            return(scfs);
        }
Exemplo n.º 3
0
        /// <include file='doc\SoapFormatterSinks.uex' path='docs/doc[@for="SoapClientFormatterSinkProvider.CreateSink"]/*' />
        public IClientChannelSink CreateSink(IChannelSender channel, String url,
                                             Object remoteChannelData)
        {
            IClientChannelSink nextSink = null;

            if (_next != null)
            {
                nextSink = _next.CreateSink(channel, url, remoteChannelData);
                if (nextSink == null)
                {
                    return(null);
                }
            }

            SinkChannelProtocol protocol = CoreChannel.DetermineChannelProtocol(channel);

            SoapClientFormatterSink sink = new SoapClientFormatterSink(nextSink);

            sink.IncludeVersioning = _includeVersioning;
            sink.StrictBinding     = _strictBinding;
            sink.ChannelProtocol   = protocol;
            return(sink);
        }
Exemplo n.º 4
0
        public IClientChannelSink CreateSink(IChannelSender channel, String url, 
                                             Object remoteChannelData)
        {
            IClientChannelSink nextSink = null;
            if (_next != null)
            {
                nextSink = _next.CreateSink(channel, url, remoteChannelData);
                if (nextSink == null)
                    return null;
            }

            SinkChannelProtocol protocol = CoreChannel.DetermineChannelProtocol(channel);

            SoapClientFormatterSink sink = new SoapClientFormatterSink(nextSink);
            sink.IncludeVersioning = _includeVersioning;
            sink.StrictBinding = _strictBinding;
            sink.ChannelProtocol = protocol;
            return sink;
        }