System.ServiceModel.Channels.SynchronizedMessageSource class SynchronizedMessageSource Documentation Code public SynchronizedMessageSource(IMessageSource source) public Task<Message> ReceiveAsync(TimeSpan timeout) public Task<bool> WaitForMessageAsync(TimeSpan timeout)