static AmqpException TypeNotSupportedException(Type type) { return new AmqpException(ErrorCode.NotImplemented, Fx.Format(SRAmqp.EncodingTypeNotSupported, type)); } #endif