コード例 #1
0
 protected void SetMessageSource(Microsoft.ServiceBus.Channels.IMessageSource messageSource)
 {
     this.messageSource = new Microsoft.ServiceBus.Channels.SynchronizedMessageSource(messageSource);
 }
コード例 #2
0
 public SynchronizedMessageSource(Microsoft.ServiceBus.Channels.IMessageSource source)
 {
     this.source     = source;
     this.sourceLock = new ThreadNeutralSemaphore(1);
 }