DotNetWorkQueue.Configuration.TransportConfigurationReceive.FailIfReadOnly C# (CSharp) Method

FailIfReadOnly() protected method

Throws an exception if the read only flag is true.
protected FailIfReadOnly ( ) : void
return void
        protected void FailIfReadOnly()
        {
            if (IsReadOnly) throw new InvalidOperationException();
        }