Microsoft.Azure.Amqp.Framing.Transfer.EnsureRequired C# (CSharp) Method

EnsureRequired() protected method

protected EnsureRequired ( ) : void
return void
        protected override void EnsureRequired()
        {
            if (!this.Handle.HasValue)
            {
                throw AmqpEncoding.GetEncodingException(AmqpResources.GetString(AmqpResources.AmqpRequiredFieldNotSet, "handle", Name));
            }
        }