Exemple #1
0
 protected override IAsyncResult BeginAcceptPooledConnection(Microsoft.ServiceBus.Channels.IConnection connection, ref Microsoft.ServiceBus.Common.TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
 {
     this.decoder = new Microsoft.ServiceBus.Channels.ClientSingletonDecoder((long)0);
     return(new Microsoft.ServiceBus.Channels.StreamedFramingRequestChannel.StreamedConnectionPoolHelper.SendPreambleAsyncResult(this.channel, connection, ref timeoutHelper, this.decoder, callback, state));
 }
Exemple #2
0
 protected override Microsoft.ServiceBus.Channels.IConnection AcceptPooledConnection(Microsoft.ServiceBus.Channels.IConnection connection, ref Microsoft.ServiceBus.Common.TimeoutHelper timeoutHelper)
 {
     this.decoder = new Microsoft.ServiceBus.Channels.ClientSingletonDecoder((long)0);
     return(this.channel.SendPreamble(connection, ref timeoutHelper, this.decoder, out this.remoteSecurity));
 }